File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
![ API architecture!] ( api-architecture.png )
2
2
3
3
* The ` stacks-node ` has it's own minimal set of http endpoints referred to as ` RPC endpoints `
4
- * See: https://github.com/blockstack/stacks-blockchain/blob/master/docs/rpc-endpoints.md
5
- * Some common ones:
6
- ` POST /v2/transactions ` - broadcast a tx.
7
- ` GET /v2/pox ` - get current PoX-relevant information.
8
- ` GET /v2/accounts/<address> ` - used to get the current ` nonce ` required for creating transactions.
9
4
* The ` stacks-blockchain-api ` allows clients to access these endpoints by proxying them through to a load-balanced pool of ` stacks-nodes ` .
5
+ * See: https://github.com/blockstack/stacks-blockchain/blob/master/docs/rpc-endpoints.md -- some common ones:
6
+ * ` POST /v2/transactions ` - broadcast a tx.
7
+ * ` GET /v2/pox ` - get current PoX-relevant information.
8
+ * ` POST /v2/contracts/call-read/<contract>/<function> ` - evaluates and returns the result of calling a Clarity function.
9
+ * ` POST /v2/fees/transaction ` - evaluates a given transaction and returns tx fee estimation data.
10
+ * ` GET /v2/accounts/<address> ` - used to get the current ` nonce ` required for creating transactions.
10
11
11
12
12
13
* The endpoints implemented by ` stacks-blockchain-api ` provide data that the ` stacks-node ` can't due to various constraints.
You can’t perform that action at this time.
0 commit comments