From 8f8bb2aa23a143639fa97732c156c7d10d954b10 Mon Sep 17 00:00:00 2001 From: Furqan A <35498810+nblogist@users.noreply.github.com> Date: Wed, 22 Sep 2021 06:48:18 +0300 Subject: [PATCH] fix: fixed 404 to the docs from the api readme (#3985) --- packages/api/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/api/README.md b/packages/api/README.md index 93b92cd327..5dd4f3f465 100644 --- a/packages/api/README.md +++ b/packages/api/README.md @@ -7,13 +7,13 @@ The API wrappers provide a standard interface for use - - A static `.create()` that returns an API instance when connected, decorated and ready-to use. ApiOptions can include an optional WsProvider and optional custom type definitions `{ provider: , types: }`. - The above is just a wrapper for `new Api() `, exposing the `isReady` getter - `api.rpc.
.` provides access to actual RPC calls, be it for queries, submission or retrieving chain information - - [RPC (node interface)](https://polkadot.js.org/docs/substrate/rpc.html) + - [RPC (node interface)](https://polkadot.js.org/docs/substrate/rpc) - `api.query.
.` provides access to chain state queries. These are dynamically populated based on what the runtime provides - - [Storage chain state (runtime node interface)](https://polkadot.js.org/docs/substrate/storage.html) + - [Storage chain state (runtime node interface)](https://polkadot.js.org/docs/substrate/storage) - `api.tx.
.` provides the ability to create a transaction, like chain state, this list is populated from a runtime query - - [Extrinsics (runtime node interface)](https://polkadot.js.org/docs/substrate/extrinsics.html) + - [Extrinsics (runtime node interface)](https://polkadot.js.org/docs/substrate/extrinsics) - `api.consts.
.` provides access to the module constants (parameter types). - - [Constants (runtime node interface)](https://polkadot.js.org/docs/substrate/constants.html) + - [Constants (runtime node interface)](https://polkadot.js.org/docs/substrate/constants) ## API Selection