Broadcasting
Transaction Broadcasting from SPV Wallet
Last updated
Transaction Broadcasting from SPV Wallet
Last updated
The SPV Wallet broadcasts all valid transactions it receives or creates to ARC.
We use the first endpoint to determine the correct fee model to use when creating a transaction.
Thereafter we simply broadcast to ARC and expect a SEEN_ON_NETWORK
txStatus response in most cases.
Usually a callbackUrl would be set for async status updates - but if you'd like to manually check the most recent state of a given transaction, you can use this:
This endpoint returns the policy settings.
Success
This endpoint is used to get the current status of a previously submitted transaction.
The transaction ID (32 byte hash) hex string
Success
Block hash
"00000000000000000854749b3c125d52c6943677544c8a6a885247935ba8d17d"
Block height
782318
Transaction ID in hex
"6bdbcfab0526d30e8d68279f79dff61fb4026ace8b7b32789af016336e54f2f0"
Transaction Merkle path as a hex string in BUMP format BRC-74
"0000"
Transaction status
"ACCEPTED_BY_NETWORK"
Extra information about the transaction
"Transaction is not valid"
This endpoint is used to send a raw transaction to a miner for inclusion in the next block that the miner creates.
Transaction hex string
"<transaction hex string>"
Success
Block hash
"00000000000000000854749b3c125d52c6943677544c8a6a885247935ba8d17d"
Block height
782318
Transaction ID in hex
"6bdbcfab0526d30e8d68279f79dff61fb4026ace8b7b32789af016336e54f2f0"
Transaction Merkle path as a hex string in BUMP format BRC-74
"0000"
Transaction status
"ACCEPTED_BY_NETWORK"
Extra information about the transaction
"Transaction is not valid"
Status
201
Title
"Added to mempool"