curl --request POST \ --url https://devnet-as.magicblock.app/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "isBlockhashValid", "params": [ "J7rBdM6AecPDEZp8aPq5iPSNKVkU5Q76F3oAV4eW5wsW", { "commitment": "processed" } ] }'
{ "jsonrpc": "2.0", "id": 1, "result": null, "error": null }
Returns whether a blockhash is still valid or not.
Documentation IndexFetch the complete documentation index at: https://docs.magicblock.gg/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.magicblock.gg/llms.txt
Use this file to discover all available pages before exploring further.
2.0
isBlockhashValid
Method-specific parameters.
Successful response
Method-specific result payload.
此页面对您有帮助吗?