Appearance
Documentation / js-sdk-core / UnsignedTransactionRequestWithChainId
Type alias: UnsignedTransactionRequestWithChainId
UnsignedTransactionRequestWithChainId:
UnsignedTransactionRequest
&Object
UnsignedTransactionRequest specifies the chainId
field as optional, which matches ethers, wagmi, and a bunch of other libraries.
However, we need the transaction's chainId
to ensure it does price conversion, quote labeling, etc. importantly.
Note: If the developer does not set a
chainId
in theirUnsignedTransactionRequest
, we default to the embedded provider's currentchainId
Type declaration
chainId
chainId:
number