In anticipation of the public release of Toncenter V3, we have made final edits to the V3 API:
— hashes are now in base64 instead of hex;
— methods that returns an array (e.g.
/transactions) now return an object with an array {transactions: []};—
_friendly address fields in each object replaced by address_book hashmap;—
transaction.account_state_after_hash and transaction.account_state_before_hash removed;This latest version of V3 is now on stage.toncenter.com/api/v3 and stage-testnet.toncenter.com/api/v3.
Next week on Monday, Feb 19, 2024, toncenter.com/api/v3 and testnet.toncenter.com/api/v3 will be replaced on this new V3 version. The stage will also remain available.
The current V3 version is backed up at migrate.toncenter.com/api/v3 and migrate-testnet.toncenter.com/api/v3 and will be available for a month.
Required actions
If you are an early adopter of toncenter.com/api/v3 please:
— switch your product to
migrate endpoint;— then migrate your product to new V3 API format located on
stage;If you are not yet a V3 user - we are happy to invite you to try it next week after the public release.
No action is required from V2 API users.