Skip to main content

EXPERIMENTAL_changes-{data_changes} RPC Method

Returns the state change details of a contract based on the key prefix (encoded to base64).

Updated on
Oct 04, 2023

Parameters

changes_type
string

The type of changes i.e data_changes

account_ids
array

An array of account ids

key_prefix_base64
string

The key prefix encoded in base64

finality
string

The assurance that the transaction cannot be altered, reversed, or canceled after they are completed. For finality=final, it means that it has been validated on at least 66% of the nodes in the network and for finality=optimistic, it uses the latest block recorded on the node that responded to the query passed

block_id
integer/string

The block id, it could be either block number or block hash

Returns

block_hash
string

The hash of the block this transaction was associated with

changes
array

An array of changes that occurred in the account during the transaction

cause
object

The reason behind the account changes

type
string

The change causing factor in an account. It could be transaction_processing or receipt_processing

tx_hash/receipt_hash
string

(Optional) There can be two values returned dependent on the change-causing factor. For transaction_processing, the returned value is tx_hash, which represents the hash of the transaction. For receipt_processing, the returned value is receipt_hash, which represents the hash of the receipt.

type
string

The type of changes occurred in the account

change
object

The changes occurred in the account during the transaction

account_ids
string

The identifier for the account

key_base64
string

The data changes encoded in keybase64

value_base64
string

The data changes encoded in valuebase64

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free