maxSupportedTransactionVersion
to indicate to clients which transaction structure needs to be followed for deserialisation.
The following methods need to be updated to avoid errors:
getTransaction
getBlock
maxSupportedTransactionVersion: 0
If maxSupportedTransactionVersion
is not explicitly added to the request, the transaction version will fallback to legacy
. Any block that contains a versioned transaction will return with an error by the client in the case of a legacy transaction.
You can set this via JSON formatted requests to the RPC endpoint like below: