Sends a transaction and waits until transaction is fully complete (It has a 10 second timeout).
Supported on NEAR (mainnet) only.
Parameters
signed transaction
- string - The signed transaction encoded in base64
Returns
status
- The status of the transactionSuccessValue
- The amount successfully transferred
transaction
- The transaction objectsigner_id
- The account id of the transaction originatorpublic_key
- The public key of the signernonce
- The number of transactions made by the sender prior to this one encoded as hexadecimalreceiver_id
- The account id of the transaction receiveractions
- An action built from near-api-js.transactionsTransfer
- The tokens transferreddeposit
- The amount depositedsignature
- The standard ed25519 signature typehash
- The hash of the block
transaction_outcome
- The transaction resultproof
- The proof of the transactionblock_hash
- The hash of the block this transaction was associated withid
- The transaction idoutcome
- The outcome associated with transactionlogs
- Logs for the application being executed by this transactionreceipt_ids
- The ids of the receiptgas_burnt
- The gas burnt while executing the transactiontokens_burnt
- The amount of tokens burntexecutor_id
- The id of the originatorstatus
- The status of the transactionSuccessReceiptId
- The transaction id of the successful receipt
receipts_outcome
- The receipts outcome for the transactionproof
- The transaction proofblock_hash
- The hash of the block this transaction was associated withid
- The transaction idoutcome
- The outcome associated with transactionlogs
- Logs for the application being executed by this transactionreceipt_ids
- The id of the receiptsgas_burnt
- The gas burnt while executing the transactiontokens_burnt
- The amount of tokens burntexecutor_id
- The id of the originatorstatus
- The status of the transactionSuccessReceiptId
- The transaction id of the successful receipt
API Endpoint
The format of a Near API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/near/
Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/near/
Example
Request
curl https://open-platform.nodereal.io/{{apiKey}}/near/ \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"broadcast_tx_commit","params":["signedtransaction base64 encoded"],"id":1,"jsonrpc":"2.0"}'
Result