key: value
structure.
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
itemType | string | Required | Required | Key that will be stored in peaq storage. Max 64 bytes. |
item | object | Required | Required | Value that will be stored in peaq storage. Max 256 bytes. |
seed | string | N/A | Required | If not set at instance creation, allows user to define who sends the Substrate Transactions. |
key: value
pair of what is stored on-chain.
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
itemType | string | Required | Required | Key that will be use to search peaq storage at the address. |
address | string | Required | Optional | Wallet address where the is key stored. |
wssBaseUrl | string | Required | N/A | WSS URL must be used to read from storage. EVM must explicitly set WSS (Substrate has it stored during creation). |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
itemType | string | Required | Required | Key that is stored in peaq storage whose value will be updated. |
item | string | Required | Required | New value that will be stored in peaq storage. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
itemType | string | N/A | Required | The key representing the pair to be removed. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |