Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
tx | EvmTransaction | Required | N/A | EVM compatible transaction object returned from specific SDK method. Used to execute the corresponding peaq function. Gives the user the option to manually send the tx using ethers.js, web.js, or to use the sendEvmTx() in the peaq SDK to perform the operation. |
baseUrl | string | Required | N/A | RPC url used to connect to the blockchain. Reference Connecting to peaq for supported RPC urls. |
seed | string | Required | N/A | Ethereum private key linked to the wallet executing the transactions. Allows the backend to perform write transactions on behalf of the user. |