For more up-to-date information, please refer to the TAC SDK GitHub repository.

Network (Enum)

enum Network {
  Testnet = "testnet",
  Mainnet = "mainnet",
}

TacSDKTonClientParams

type TacSDKTonClientParams = {
  network: Network;
  tonClientParameters?: TonClientParameters;
  delay?: number;
  settingsAddress?: string;
};

EvmProxyMsg

type EvmProxyMsg = {
  evmTargetAddress: string;
  methodName?: string;
  encodedParameters?: string;
};

AssetBridgingData

type AssetBridgingData = {
  amount: number;
  address?: string;
};

TransactionLinker

type TransactionLinker = {
  caller: string;
  shardCount: number;
  shardedId: string;
  timestamp: number;
};

SimplifiedStatuses (Enum)

enum SimplifiedStatuses {
  Pending,
  Failed,
  Successful,
  OperationIdNotFound,
}

Transaction Status Values

The following status values may be returned when tracking transactions:

  • EVMMerkleMessageCollected: Validator has collected all events for a sharded message
  • EVMMerkleRootSet: EVM message added to Merkle tree
  • EVMMerkleMessageExecuted: Message executed on EVM side
  • TVMMerkleMessageCollected: Return message event generated for TVM execution
  • TVMMerkleRootSet: TVM message added to Merkle tree
  • TVMMerkleMessageExecuted: Transaction fully executed (terminal state)