Tu USDC está generando intereses al tipo de interés de ayerQuicknode lo traslada automáticamente a la mejor bóveda de Morpho del día. En tiempo real en 7 cadenas.
Elabora tu estrategiaCertificado SOC 2 Tipo II · ISO 27001
Versioned Transactions on Solana Mainnet
Solana Mainnet is enabling Versioned Transactions — here's what you need to know.

October 8, 2022 — 2 min read

Here's everything you need to know to prepare for the upcoming Solana Mainnet feature activation and how to avoid errors once it occurs.
The Solana Foundation estimates that on Monday, October 10, 2022, at the beginning of epoch 358, a feature activation will occur, enabling Versioned Transactions — "the new transaction format that allows for additional functionality in the Solana runtime, including Address Lookup Tables."
This activation can potentially raise exceptions in your code and affect production.
The following methods are affected by this change:
getTransaction
getBlock
To avoid potential issues, you'll need to adapt your code to add a new parameter, otherwise, it might return an error when running some methods. If there's no change, you will get errors when requesting blocks that have those new versioned transactions
The request would need to have the following additional parameter:maxSupportedTransactionVersion: 0
For example:
{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlock",
"params": [
94101948,
{
"encoding": "json",
"maxSupportedTransactionVersion": 0,
"transactionDetails": "full",
"rewards": false
}
]
}In case this new parameter is not explicitly added in the request, maxSupportedTransactionVersion will default to legacy, so any block containing a versioned transaction of version 0 or higher will be answered with an error by the client.
Our documentation for these methods has been updated to reflect the new requirements with examples of multiple languages and libraries:
We also recommend requesting getBlock con jsonParsed encoding, which would translate the looked-up addresses for versioned transactions into the addresses we are used to seeing right now in the pre/postBalances fields.
For more details on how to prepare and integrate these changes into your code, we recommend checking the following resources:
Fundada en 2017, Quicknode una infraestructura de blockchain de nivel institucional para desarrolladores y empresas. Con un tiempo de actividad del 99,99 % y compatibilidad con más de 80 cadenas, los equipos pueden crear y ampliar aplicaciones en cadena sin renunciar a nada.
Las últimas novedades sobre ingeniería, actualizaciones de productos y noticias sobre la Web3, directamente en tu bandeja de entrada.