Skip to main content

send_tx RPC Method

Submits a transaction to the NEAR blockchain and returns its execution status and outcomes.

Updated on
Jan 29, 2025

send_tx RPC Method

Parameters

signed_tx_base64
string
REQUIRED
The signed transaction encoded in base64
wait_until
string
The response timing: None, Included, ExecutedOptimistic, IncludedFinal, Executed, Final

Returns

result
object
The Transaction execution result
final_execution_status
string
The final status of transaction execution
status
object
Transaction status
SuccessValue
string
Either an empty string or a return value encoded in Base64.
transaction
object
The transaction details
signer_id
string
The account that signed the transaction
public_key
string
The Ed25519 digital signature encoded in base58 format
nonce
integer
Transaction nonce
receiver_id
string
Receiving account
actions
array
List of transaction actions
Transfer
object
Token transfer action
deposit
string
Amount in yoctoNEAR
signature
string
The Ed25519 digital signature encoded in base58 format
hash
string
The unique transaction hash, represented in base58 format
transaction_outcome
object
Initial transaction execution outcome
proof
array
Merkle proof of inclusion
block_hash
string
Block hash containing the outcome
id
string
Transaction hash
outcome
object
Execution outcome details
logs
array
Execution logs
receipt_ids
string
Generated receipt IDs
gas_burnt
integer
Gas used
tokens_burnt
string
Tokens burnt as fees
executor_id
string
Account that executed transaction
status
object
Execution status
SuccessReceiptId
string
Receipt ID on success
receipts_outcome
array
Outcomes of generated receipts
proof
array
Merkle proof of inclusion
block_hash
string
Block hash containing the outcome
id
string
Receipt ID
outcome
object
Receipt execution outcome
logs
array
Execution logs
receipt_ids
string
Generated receipt IDs
gas_burnt
integer
Gas used
tokens_burnt
string
Tokens burnt as fees
executor_id
string
Account that executed receipt
status
object
Execution status
SuccessValue
string
Either an empty string or a return value encoded in Base64
Request
1
curl https://docs-demo.near-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"send_tx","params":{"signed_tx_base64": "signedtransaction base64 encoded", "wait_until": "INCLUDED_FINAL"},"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free