Skip to main content

ExecuteScriptAtBlockHeight Access API Method

Executes a ready-only Cadence script against the execution state at the given block height.

Updated on
Oct 04, 2023

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

BlockHeight
string
REQUIRED

The block height for which the script is to be run. The string final and sealed are also supported

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