Rename st -> query (#269)
This commit is contained in:
committed by
Amaury Martiny
parent
b913ace9be
commit
fb528d051c
@@ -7,7 +7,7 @@ The API wrappers provide a standard interface for use -
|
||||
- A static `.create(<optional WsProvider>)` that returns an API istance when connected, decorated and ready-to use
|
||||
- The above is just a wrapper for `new Api(<optional WsProvider>) `, exposing the `isReady` getter
|
||||
- `api.rpc.<section>.<method>` provides access to actual RPC calls, be it for queries, submission or retrieving chain information
|
||||
- `api.st.<section>.<method>` provides access to chain state queries. These are dynamically populated based on what the runtime provides
|
||||
- `api.query.<section>.<method>` provides access to chain state queries. These are dynamically populated based on what the runtime provides
|
||||
- `api.tx.<section>.<method>` provides the ability to create transaction, like chain state, this list is populated from a runtime query
|
||||
|
||||
## API Selection
|
||||
|
||||
Reference in New Issue
Block a user