Sign and Broadcast Transaction
Last updated
Last updated
POST /wallets/{walletId}/transactions
Sign & Broadcast transaction enables communication with any arbitrary smart contract of the target blockchain. You can construct a transaction that performs a complex task and this endpoint will sign the transaction, add the signature and broadcast it to chain. It can be used to call smart contract functions like mint tokens and even deploy new smart contracts.
Note: for reading from a "view" function on EVM chains, please use .
Wallets:Transactions:Create
Always Required
walletId
Unique identifier of the wallet.
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:
id
ID of the transaction request.
String
walletId
ID of the wallet.
String
network
The network of the transaction.
String
requester.userId
ID of the user made the transfer request.
String
requester.tokenId
ID of the token used to make the transfer request.
String (optional)
requester.appId
Application ID used to make the transfer request.
String (optional)
requestBody
The original request body.
Object
externalId
External ID specified in the request.
String (optional)
dateRequested
String
status
The current status of the request. See table below for a list of possible statuses.
String
txHash
The on-chain transaction hash.
String (optional)
dateBroadcasted
String (optional)
approvalId
ID of the approval when the request triggered a policy.
String (optional)
datePolicyResolved
String (optional)
reason
The failure reason if the request failed to complete.
String (optional)
fee
The transaction fee.
String (optional)
dateConfirmed
String (optional)
Pending
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 either a system failure to complete the request or the transaction failed on chain.
Rejected
The request has been rejected by a policy approval action.
date string when the request was made.
date string when transaction was broadcasted to the blockchain.
date string when the triggered policy was either approved or denied.
date string when the transaction was confirmed on chain.
The request is pending approval due to a to the wallet.