Sign and Broadcast Transaction from Wallet

POST /wallets/{walletId}/transactions

Sign & Broadcast transaction enables communication with any arbitrary smart contract by replicating the native transaction protocol fields in the body of the request. It executes a signature, constructs the transaction for the target chain, and then broadcasts the transaction. It can be used to make native payments, call smart contract functions, and even deploy new smart contracts. Note for reading from a "view" function on EVM chains, please use Call Read Function.

Required Permissions

NameConditions

Wallets:BroadcastTransaction

Always Required

Parameters

Path parameters

Path parameterDescription

walletId

Unique identifier of the Wallet. ex. wa-1f04s-lqc9q-xxxxxxxxxxxxxxxx

Request Body

The body of the request will depend on the chain you are targeting. Please find the chain in question by expanding this section in the left hand navigation:

Response Statuses

StatusDefinition

Pending

The request is pending approval due to a policy applied to the wallet

Executing

The request is approved and is in the process of being executed (note this status is only set for a short time between pending and broadcasted)

Broadcasted

The transaction has been successfully written to the mempool

Confirmed

The transaction has been confirmed on-chain by our indexing pipeline

Failed

Indicates a system failure to complete the request

Rejected

The request has been rejected by a policy approval action

Last updated