Send Transaction

POST

Send transaction to blockchain

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
projectIdUUIDRequired

ID of the project you want this request to be sent from

contractAddressstringRequired

The contract address to send request to

chainIdlongRequired

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.

functionSignaturestringRequired

The human readable signature to call on the contract

requestIdUUIDOptional

(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.

argsmap 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.
transactionIdUUID