EXPERIMENTAL_tx_status {disallowed} - NEAR Protocol

Example code for the EXPERIMENTAL_tx_status {disallowed} json-rpc method. Сomplete guide on how to use EXPERIMENTAL_tx_status {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

hash - string

transaction hash

id - string

sender account id, used to determine which shard to query for transaction.

Request

curl --location --request POST 'https://near.getblock.io/mainnet' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "EXPERIMENTAL_tx_status",
"params": [null, null],
"id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.