latestOpenAPI 3.0.22026-08-1041321430.0 KB

c88faa17bc25

Transactions

Create a transaction

Create a transaction.

post/transactions

Request body

account_idinteger nullable

The account's id

account_namestring required

The account's name.

amountstring nullable

The amount to be sent, in the currency's lowest unit. For Smart Contract interaction, use "0" instead of null

max_feesstring required

Max fees represent the highest possible fee amount you will pay to broadcast this transaction. The final fees, calculated once the transaction is approved by the last Operator, might be lower, but will never exceed that amount. We recommend estimating max fees through our fee estimation endpoint prior to creating the transaction request. See https://help.vault.ledger.com/developer-portal/content/transactions/tx/ for details.For Solana and Polkadot, max_fees field must be ignored.

recipientstring required

The recipient's address.

speed'CUSTOM' | 'FAST' | 'NORMAL' | 'SLOW' required

The transaction's processing speed.

Response

Transaction to approve

account_idinteger required
account_indexinteger required
amountstring nullable

the transaction amount, in base units

broadcast_onstring date-time nullable
confirmationsinteger required
created_byinteger required
created_onstring date-time required
currency'Dollar' | 'Euro' | 'arbitrum' | 'arbitrum_goerli' | 'avalanche_c_chain' | 'avalanche_c_chain_fuji' | 'base' | 'base_goerli' | 'bitcoin' | 'bitcoin_cash' | 'bitcoin_gold' | 'bitcoin_testnet' | 'bsc' | 'cardano' | 'celo' | 'celo_alfajores' | 'cosmos' | 'cronos' | 'cronos_testnet' | 'dash' | 'digibyte' | 'dogecoin' | 'ethereum' | 'ethereum_goerli' | 'ethereum_holesky' | 'ethereum_pow' | 'ethereum_ropsten' | 'ethereum_sepolia' | 'fantom' | 'fantom_testnet' | 'filecoin' | 'filecoin_calibration' | 'flare' | 'flare_coston' | 'kava_evm' | 'kava_evm_testnet' | 'klaytn' | 'klaytn_baobab' | 'komodo' | 'litecoin' | 'near' | 'optimism' | 'optimism_goerli' | 'pivx' | 'polkadot' | 'polygon' | 'polygon_mumbai' | 'ripple' | 'solana' | 'solana_devnet' | 'solana_testnet' | 'stellar' | 'tezos' | 'tomo' | 'tomo_testnet' | 'tron' | 'vertcoin' | 'viacoin' | 'westend' required
currency_family'bitcoin' | 'cardano' | 'cosmos' | 'ethereum' | 'near' | 'polkadot' | 'polygon' | 'ripple' | 'solana' | 'stellar' | 'tezos' | 'tron' required
feesstring nullable

the transaction fee paid, in base units

idinteger required
interaction_typestring nullable
last_requestinteger nullable
max_feesstring nullable

Max fees represent the highest possible fee amount you will pay to broadcast this transaction, in base units. The final fees, calculated once the transaction is approved by the last Operator, might be lower, but will never exceed that amount. See https://help.vault.ledger.com/Content/transactions/tx.html for details

min_confirmationsinteger required
recipientstring nullable
sendersstring[] nullable

Only available once the transaction has been submitted to the blockchain

speed'null' | 'CUSTOM' | 'FAST' | 'NORMAL' | 'SLOW' nullable
status'APPROVED' | 'CONFIRMED' | 'DROPPED' | 'FAILED' | 'FAILED_TO_BROADCAST' | 'FAILED_TO_CRAFT' | 'FAILED_TO_SIGN' | 'PENDING_APPROVAL' | 'PENDING_CREATE_IN_HSM' | 'REJECTED' | 'REPLACED' | 'SIGNED' | 'SUBMITTED' required
tx_hashstring nullable
type'ADDPROXY' | 'ANONYMOUSPROXY' | 'BOND' | 'BONDEXTRA' | 'CHILL' | 'CREATE_SPL_TOKEN_ACCOUNT' | 'DELEGATE' | 'DELEGATE_VOTE_TO_DREP' | 'DEPLOY_CONTRACT' | 'EXECUTE_CONTRACT' | 'KILLANONYMOUS' | 'PROXY' | 'REBOND' | 'RECEIVE' | 'RECEIVE_SPL_TOKEN_CHECKED' | 'RECEIVE_SPL_TOKEN_CHECKED_FUNDED' | 'REMOVEPROXY' | 'REVEAL' | 'REWARD' | 'SEND' | 'SEND_SPL_TOKEN_CHECKED' | 'SEND_SPL_TOKEN_CHECKED_FUNDED' | 'SETCONTROLLER' | 'SETPAYEE' | 'STAKE' | 'STAKE_CREATE_DELEGATE' | 'STAKE_DEACTIVATE' | 'STAKE_DELEGATE' | 'STAKE_MERGE' | 'STAKE_SPLIT' | 'STAKE_SPLIT_DEACTIVATE' | 'STAKE_WITHDRAW' | 'STAKING_DELEGATE' | 'STAKING_DEREGISTER' | 'STAKING_REGISTER' | 'STAKING_WITHDRAW' | 'UNBOND' | 'UNDELEGATE' | 'UNKNOWN' | 'WITHDRAWUNBONDED' required
uidstring nullable