Skip to main content

ExecuteScriptAtBlockID Access API Method

Executes a ready-only Cadence script against the execution state at the block with the given ID

Updated on
Oct 04, 2023

ExecuteScriptAtBlockID Access API Method

Parameters

Script
string
REQUIRED
The Base64 encoded content of the Cadence script
Arguments
string
REQUIRED
A list of arguments each encoded as Base64 passed in the JSON-Cadence interchange format
BlockId
string
REQUIRED
The ID of the block to execute the script against

Returns

value
string
The result of the executed Cadence script
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free