Rename st -> query (#269)

This commit is contained in:
Jaco Greeff
2018-10-12 16:46:28 +02:00
committed by Amaury Martiny
parent b913ace9be
commit fb528d051c
11 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -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