Send a transaction
Signs a transaction with the given EVM account and sends it to the indicated supported network. This API handles nonce management and gas estimation, leaving the developer to provide only the minimal set of fields necessary to send the transaction. The transaction should be serialized as a hex string using RLP.
The transaction must be an EIP-1559 dynamic fee transaction.
Transaction fields and API behavior
-
to
(Required): The address of the contract or account to send the transaction to. -
chainId
(Ignored): The value of thechainId
field in the transaction is ignored. The transaction will be sent to the network indicated by thenetwork
field in the request body. -
nonce
(Optional): The nonce to use for the transaction. If not provided, the API will assign a nonce to the transaction based on the current state of the account. -
maxPriorityFeePerGas
(Optional): The maximum priority fee per gas to use for the transaction. If not provided, the API will estimate a value based on current network conditions. -
maxFeePerGas
(Optional): The maximum fee per gas to use for the transaction. If not provided, the API will estimate a value based on current network conditions. -
gasLimit
(Optional): The gas limit to use for the transaction. If not provided, the API will estimate a value based on theto
anddata
fields of the transaction. -
value
(Optional): The amount of ETH, in wei, to send with the transaction. -
data
(Optional): The data to send with the transaction; only used for contract calls. -
accessList
(Optional): The access list to use for the transaction.
Headers
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
An optional UUID v4 request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
36
Path Parameters
The 0x-prefixed address of the Ethereum account.
Body
Response
Successfully signed and sent transaction.
The response is of type object
.