Sign and Broadcast Transaction from Wallet
Last updated
Last updated
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.
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Name | Conditions |
---|---|
| Always Required |
Path parameter | Description |
---|---|
| Unique identifier of the |
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:
Status | Definition |
---|---|
| The request is pending approval due to a policy applied to the wallet |
| 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) |
| The transaction has been successfully written to the mempool |
| The transaction has been confirmed on-chain by our indexing pipeline |
| Indicates a system failure to complete the request |
| The request has been rejected by a policy approval action |