Transactions

Send Transaction

POST
Send transaction to blockchain

Request

This endpoint expects an object.
projectId
UUIDRequired
ID of the project you want this request to be sent from
contractAddress
stringRequired
The contract address to send request to
chainId
longRequired

The chain ID for the network (e.g. 1 for Ethereum Mainnet, 137 for Polygon Mainnet, 80001 for Polygon Mumbai). For a complete list of chain IDs, see ChainList.

functionSignature
stringRequired
The human readable signature to call on the contract
requestId
UUIDOptional
(Optional) ID of the request. Needs to be a valid UUID. If provided, it will be saved and returned as the transactionId of the response. If not provided, we will generate one for you and return it as the transactionId.
args
map from strings to anyOptional
(Optional) The function arguments for the transaction if any. The keys are the argument names or index from the provided function signature and the values are the argument values.

Response

This endpoint returns an object
transactionId
UUID