Call a write function on a deployed contract

Call a write function on a deployed contract by blockchain native asset id and contract address. This creates an onchain transaction, thus it is an async operation. It returns a transaction id that can be polled for status check

Path Params
string
required

The contract's onchain address

string
required
Body Params
string
required

The vault account id this contract was deploy from

abiFunction
required
string

Amount in base asset. Being used in payable functions

string
enum

Fee level for the write function transaction. interchangeable with the 'fee' field

Allowed:
string

Max fee amount for the write function transaction. interchangeable with the 'feeLevel' field

string

Custom note, not sent to the blockchain, that describes the transaction at your Fireblocks workspace

boolean

Indicates whether the token should be created in a gasless manner, utilizing the ERC-2771 standard. When set to true, the transaction will be relayed by a designated relayer. The workspace must be configured to use Fireblocks gasless relay.

string

External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters

Headers
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json