Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
base_url | string | Required | Required | HTTPS/WSS URL used to connect to the blockchain. Reference connecting to peaq for supported URLs. Use HTTPS for EVM and WSS for Substrate (and EVM reads). |
chain_type | ChainType | Required | Required | Defines whether the instance will generate EVM or Substrate transactions. |
seed | string | Optional | Optional | Private key (EVM) or mnemonic phrase (Substrate) used to execute write transactions on behalf of the user. If not set, the peaq transaction object is returned to the user for manual submission. |