[CI Skip] 0.30.3
This commit is contained in:
@@ -20,7 +20,7 @@ const provider = new WsProvider('[http://127.0.0.1:9944')](http://127.0.0.1:9944
|
||||
|
||||
⊕ **new Api**(provider: *`ProviderInterface`*): [Api](_index_.api.md)
|
||||
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/api/blob/74737b6/packages/api/src/index.ts#L32)*
|
||||
*Defined in [index.ts:29](https://github.com/polkadot-js/api/blob/b3a95b5/packages/api/src/index.ts#L29)*
|
||||
|
||||
*__constructor__*: Default constructor for the Api Object
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
**● author**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:29](https://github.com/polkadot-js/api/blob/74737b6/packages/api/src/index.ts#L29)*
|
||||
*Defined in [index.ts:26](https://github.com/polkadot-js/api/blob/b3a95b5/packages/api/src/index.ts#L26)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
**● chain**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:30](https://github.com/polkadot-js/api/blob/74737b6/packages/api/src/index.ts#L30)*
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/b3a95b5/packages/api/src/index.ts#L27)*
|
||||
|
||||
___
|
||||
<a id="state"></a>
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
**● state**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:31](https://github.com/polkadot-js/api/blob/74737b6/packages/api/src/index.ts#L31)*
|
||||
*Defined in [index.ts:28](https://github.com/polkadot-js/api/blob/b3a95b5/packages/api/src/index.ts#L28)*
|
||||
|
||||
___
|
||||
<a id="system"></a>
|
||||
@@ -69,7 +69,39 @@ ___
|
||||
|
||||
**● system**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/api/blob/74737b6/packages/api/src/index.ts#L32)*
|
||||
*Defined in [index.ts:29](https://github.com/polkadot-js/api/blob/b3a95b5/packages/api/src/index.ts#L29)*
|
||||
|
||||
___
|
||||
|
||||
# Methods
|
||||
|
||||
<a id="signature"></a>
|
||||
|
||||
## `<Static>` signature
|
||||
|
||||
▸ **signature**(__namedParameters: *`object`*): `string`
|
||||
|
||||
*Defined in [index.ts:58](https://github.com/polkadot-js/api/blob/b3a95b5/packages/api/src/index.ts#L58)*
|
||||
|
||||
*__name__*: signature
|
||||
|
||||
*__signature__*: jsonrpcSignature (method: InterfaceMethodDefinition): string
|
||||
|
||||
*__summary__*: Returns a string representation of the method with inputs and outputs.
|
||||
|
||||
*__description__*: Formats the name, inputs and outputs into a human-readable string. This contains the input parameter names input types and output type.
|
||||
|
||||
*__example__*: import Api from '@polkadot/Api';
|
||||
|
||||
Api.signature({ name: 'test\_method', params: \[ { name: 'dest', type: 'Address' } \], type: 'Address' }); // => test\_method (dest: Address): Address
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| __namedParameters | `object` |
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
___
|
||||
|
||||
|
||||
Reference in New Issue
Block a user