Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TOP Group (The Open Platform) Events API

The Events API from TOP Group (The Open Platform) — 2 operation(s) for events.

TOP Group (The Open Platform) Events API is one of 23 APIs that TOP Group (The Open Platform) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Events. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 2 operations across 2 paths, and defines 56 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

Requests are made against 3 base URLs: https://tonapi.io, https://testnet.tonapi.io, http://localhost:8081.

2 operations 2 paths 56 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://tonapi.io
Contact
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Events 2
GET
/v2/events/{event_id}
Get an event either by event ID or a hash of any transaction in a trace. An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known pa…
getEvent 2 params → 200default
POST
/v2/events/emulate
Emulate sending message to retrieve general blockchain events
emulateMessageToEvent 2 params body → 200default

Schemas 56

The contract defines 56 schemas that model the data the API accepts and returns. The most detailed are Action (36 properties), NftItem (14 properties), JettonSwapAction (11 properties), FlawedJettonTransferAction (10 properties). Each schema is shown below with its type and property counts.

PoolImplementationType
string
ContractDeployAction
object
2 properties 2 required
Price
object
7 properties 6 required
GasRelayAction
object
3 properties 3 required
WithdrawXTRAction
object
2 properties 2 required
WithdrawStakeRequestAction
object
validator's participation in elections
5 properties 3 required
JettonTransferAction
object
9 properties 4 required
JettonSwapAction
object
11 properties 5 required
SmartContractAction
object
7 properties 4 required
TonTransferAction
object
6 properties 3 required
VaultDepositInfo
object
2 properties 2 required
InsufficientFunds
object
Present on an error when a request failed because the source wallet does not hold enough TON to cover the required gas (errorcode 50000).
2 properties 2 required
SubscriptionAction
object
7 properties 6 required
NftApprovedBy
array
DomainRenewAction
object
3 properties 3 required
WithdrawStakeAction
object
validator's participation in elections
4 properties 4 required
PurchaseAction
object
5 properties 5 required
Action
object
36 properties 4 required
EncryptedComment
object
2 properties 2 required
ScaledUI
object
2 properties 2 required
DepositXTRAction
object
2 properties 2 required
JettonBurnAction
object
4 properties 4 required
Protocol
object
2 properties 1 required
Sale
object
4 properties 3 required
AddExtensionAction
object
2 properties 2 required
ExtraCurrencyTransferAction
object
6 properties 4 required
OraclePriceFeed
object
3 properties 2 required
NftItem
object
14 properties 6 required
ActionSimplePreview
object
shortly describes what this action is about.
7 properties 3 required
LiquidityDepositAction
object
3 properties 3 required
DepositStakeAction
object
validator's participation in elections
5 properties 4 required
EcPreview
object
4 properties 4 required
JettonVerificationType
string
RemoveExtensionAction
object
2 properties 2 required
AuctionBidAction
object
5 properties 4 required
JettonMintAction
object
4 properties 4 required
CurrencyType
string
TrustType
string
NftItemTransferAction
object
7 properties 1 required
OracleRequestAction
object
3 properties 3 required
BuyXTRAction
object
2 properties 2 required
WithdrawTokenStakeRequestAction
object
3 properties 2 required
ElectionsRecoverStakeAction
object
2 properties 2 required
ElectionsDepositStakeAction
object
2 properties 2 required
JettonPreview
object
10 properties 7 required
SetSignatureAllowedAction
object
2 properties 2 required
ImagePreview
object
2 properties 2 required
DepositTokenStakeAction
object
3 properties 2 required
Refund
object
2 properties 2 required
Event
object
10 properties 8 required
UnSubscriptionAction
object
4 properties 4 required
NftPurchaseAction
object
5 properties 5 required
Metadata
object
2 properties 1 required
AccountAddress
object
5 properties 3 required
ValueFlow
object
5 properties 3 required
FlawedJettonTransferAction
object
10 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

top-group-events-api-openapi.yml Raw ↑

Other APIs TOP Group (The Open Platform) publishes across the network.

TOP Group (The Open Platform) Accounts API
TOP Group (The Open Platform) Blockchain API
TOP Group (The Open Platform) Connect API
TOP Group (The Open Platform) DNS API
TOP Group (The Open Platform) Emulation API
TOP Group (The Open Platform) ExtraCurrency API
TOP Group (The Open Platform) Gasless API
TOP Group (The Open Platform) Jettons API
TOP Group (The Open Platform) Lite Server API
TOP Group (The Open Platform) Migration API
TOP Group (The Open Platform) Multisig API
TOP Group (The Open Platform) NFT API