2019-09-07 10:03:22 +00:00
|
|
|
int ? = Int;
|
|
|
|
long ? = Long;
|
|
|
|
double ? = Double;
|
|
|
|
string ? = String;
|
|
|
|
object ? = Object;
|
|
|
|
function ? = Function;
|
|
|
|
bytes data:string = Bytes;
|
|
|
|
true = True;
|
|
|
|
boolTrue = Bool;
|
|
|
|
boolFalse = Bool;
|
|
|
|
|
|
|
|
|
|
|
|
vector {t:Type} # [ t ] = Vector t;
|
|
|
|
|
|
|
|
int128 4*[ int ] = Int128;
|
|
|
|
int256 8*[ int ] = Int256;
|
|
|
|
|
|
|
|
tonNode.blockId workchain:int shard:long seqno:int = tonNode.BlockId;
|
|
|
|
tonNode.blockIdExt workchain:int shard:long seqno:int root_hash:int256 file_hash:int256 = tonNode.BlockIdExt;
|
|
|
|
tonNode.zeroStateIdExt workchain:int root_hash:int256 file_hash:int256 = tonNode.ZeroStateIdExt;
|
|
|
|
|
|
|
|
adnl.message.query query_id:int256 query:bytes = adnl.Message;
|
|
|
|
adnl.message.answer query_id:int256 answer:bytes = adnl.Message;
|
|
|
|
|
|
|
|
liteServer.error code:int message:string = liteServer.Error;
|
|
|
|
|
|
|
|
liteServer.accountId workchain:int id:int256 = liteServer.AccountId;
|
2022-01-21 01:43:35 +00:00
|
|
|
liteServer.libraryEntry hash:int256 data:bytes = liteServer.LibraryEntry;
|
2019-09-07 10:03:22 +00:00
|
|
|
|
|
|
|
liteServer.masterchainInfo last:tonNode.blockIdExt state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfo;
|
2019-09-16 08:06:04 +00:00
|
|
|
liteServer.masterchainInfoExt mode:# version:int capabilities:long last:tonNode.blockIdExt last_utime:int now:int state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfoExt;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.currentTime now:int = liteServer.CurrentTime;
|
|
|
|
liteServer.version mode:# version:int capabilities:long now:int = liteServer.Version;
|
|
|
|
liteServer.blockData id:tonNode.blockIdExt data:bytes = liteServer.BlockData;
|
|
|
|
liteServer.blockState id:tonNode.blockIdExt root_hash:int256 file_hash:int256 data:bytes = liteServer.BlockState;
|
|
|
|
liteServer.blockHeader id:tonNode.blockIdExt mode:# header_proof:bytes = liteServer.BlockHeader;
|
|
|
|
liteServer.sendMsgStatus status:int = liteServer.SendMsgStatus;
|
|
|
|
liteServer.accountState id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:bytes proof:bytes state:bytes = liteServer.AccountState;
|
2020-02-02 12:53:37 +00:00
|
|
|
liteServer.runMethodResult mode:# id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:mode.0?bytes proof:mode.0?bytes state_proof:mode.1?bytes init_c7:mode.3?bytes lib_extras:mode.4?bytes exit_code:int result:mode.2?bytes = liteServer.RunMethodResult;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.shardInfo id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:bytes shard_descr:bytes = liteServer.ShardInfo;
|
|
|
|
liteServer.allShardsInfo id:tonNode.blockIdExt proof:bytes data:bytes = liteServer.AllShardsInfo;
|
|
|
|
liteServer.transactionInfo id:tonNode.blockIdExt proof:bytes transaction:bytes = liteServer.TransactionInfo;
|
|
|
|
liteServer.transactionList ids:(vector tonNode.blockIdExt) transactions:bytes = liteServer.TransactionList;
|
2024-06-27 13:12:23 +00:00
|
|
|
liteServer.transactionMetadata mode:# depth:int initiator:liteServer.accountId initiator_lt:long = liteServer.TransactionMetadata;
|
|
|
|
liteServer.transactionId#b12f65af mode:# account:mode.0?int256 lt:mode.1?long hash:mode.2?int256 metadata:mode.8?liteServer.transactionMetadata = liteServer.TransactionId;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.transactionId3 account:int256 lt:long = liteServer.TransactionId3;
|
|
|
|
liteServer.blockTransactions id:tonNode.blockIdExt req_count:# incomplete:Bool ids:(vector liteServer.transactionId) proof:bytes = liteServer.BlockTransactions;
|
2023-03-07 16:49:25 +00:00
|
|
|
liteServer.blockTransactionsExt id:tonNode.blockIdExt req_count:# incomplete:Bool transactions:bytes proof:bytes = liteServer.BlockTransactionsExt;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.signature node_id_short:int256 signature:bytes = liteServer.Signature;
|
|
|
|
liteServer.signatureSet validator_set_hash:int catchain_seqno:int signatures:(vector liteServer.signature) = liteServer.SignatureSet;
|
2019-09-14 14:14:55 +00:00
|
|
|
liteServer.blockLinkBack to_key_block:Bool from:tonNode.blockIdExt to:tonNode.blockIdExt dest_proof:bytes proof:bytes state_proof:bytes = liteServer.BlockLink;
|
|
|
|
liteServer.blockLinkForward to_key_block:Bool from:tonNode.blockIdExt to:tonNode.blockIdExt dest_proof:bytes config_proof:bytes signatures:liteServer.SignatureSet = liteServer.BlockLink;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.partialBlockProof complete:Bool from:tonNode.blockIdExt to:tonNode.blockIdExt steps:(vector liteServer.BlockLink) = liteServer.PartialBlockProof;
|
|
|
|
liteServer.configInfo mode:# id:tonNode.blockIdExt state_proof:bytes config_proof:bytes = liteServer.ConfigInfo;
|
2019-11-28 14:44:14 +00:00
|
|
|
liteServer.validatorStats mode:# id:tonNode.blockIdExt count:int complete:Bool state_proof:bytes data_proof:bytes = liteServer.ValidatorStats;
|
2022-01-21 01:43:35 +00:00
|
|
|
liteServer.libraryResult result:(vector liteServer.libraryEntry) = liteServer.LibraryResult;
|
2024-03-19 12:31:29 +00:00
|
|
|
liteServer.libraryResultWithProof id:tonNode.blockIdExt mode:# result:(vector liteServer.libraryEntry) state_proof:bytes data_proof:bytes = liteServer.LibraryResultWithProof;
|
2022-09-20 07:49:28 +00:00
|
|
|
liteServer.shardBlockLink id:tonNode.blockIdExt proof:bytes = liteServer.ShardBlockLink;
|
|
|
|
liteServer.shardBlockProof masterchain_id:tonNode.blockIdExt links:(vector liteServer.shardBlockLink) = liteServer.ShardBlockProof;
|
2024-03-19 12:31:29 +00:00
|
|
|
liteServer.lookupBlockResult id:tonNode.blockIdExt mode:# mc_block_id:tonNode.blockIdExt client_mc_state_proof:bytes mc_block_proof:bytes shard_links:(vector liteServer.shardBlockLink) header:bytes prev_header:bytes = liteServer.LookupBlockResult;
|
2024-03-26 12:55:58 +00:00
|
|
|
liteServer.outMsgQueueSize id:tonNode.blockIdExt size:int = liteServer.OutMsgQueueSize;
|
|
|
|
liteServer.outMsgQueueSizes shards:(vector liteServer.outMsgQueueSize) ext_msg_queue_size_limit:int = liteServer.OutMsgQueueSizes;
|
2024-06-27 13:12:23 +00:00
|
|
|
liteServer.blockOutMsgQueueSize mode:# id:tonNode.blockIdExt size:long proof:mode.0?bytes = liteServer.BlockOutMsgQueueSize;
|
2019-09-07 10:03:22 +00:00
|
|
|
|
|
|
|
liteServer.debug.verbosity value:int = liteServer.debug.Verbosity;
|
|
|
|
|
2024-03-26 11:51:06 +00:00
|
|
|
liteServer.nonfinal.candidateId block_id:tonNode.blockIdExt creator:int256 collated_data_hash:int256 = liteServer.nonfinal.CandidateId;
|
|
|
|
liteServer.nonfinal.candidate id:liteServer.nonfinal.candidateId data:bytes collated_data:bytes = liteServer.nonfinal.Candidate;
|
|
|
|
liteServer.nonfinal.candidateInfo id:liteServer.nonfinal.candidateId available:Bool approved_weight:long signed_weight:long total_weight:long = liteServer.nonfinal.CandidateInfo;
|
|
|
|
liteServer.nonfinal.validatorGroupInfo next_block_id:tonNode.blockId cc_seqno:int prev:(vector tonNode.blockIdExt) candidates:(vector liteServer.nonfinal.candidateInfo) = liteServer.nonfinal.ValidatorGroupInfo;
|
|
|
|
liteServer.nonfinal.validatorGroups groups:(vector liteServer.nonfinal.validatorGroupInfo) = liteServer.nonfinal.ValidatorGroups;
|
|
|
|
|
2019-09-07 10:03:22 +00:00
|
|
|
---functions---
|
|
|
|
|
|
|
|
liteServer.getMasterchainInfo = liteServer.MasterchainInfo;
|
2019-09-16 08:06:04 +00:00
|
|
|
liteServer.getMasterchainInfoExt mode:# = liteServer.MasterchainInfoExt;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.getTime = liteServer.CurrentTime;
|
|
|
|
liteServer.getVersion = liteServer.Version;
|
|
|
|
liteServer.getBlock id:tonNode.blockIdExt = liteServer.BlockData;
|
|
|
|
liteServer.getState id:tonNode.blockIdExt = liteServer.BlockState;
|
|
|
|
liteServer.getBlockHeader id:tonNode.blockIdExt mode:# = liteServer.BlockHeader;
|
|
|
|
liteServer.sendMessage body:bytes = liteServer.SendMsgStatus;
|
|
|
|
liteServer.getAccountState id:tonNode.blockIdExt account:liteServer.accountId = liteServer.AccountState;
|
2022-11-30 05:39:32 +00:00
|
|
|
liteServer.getAccountStatePrunned id:tonNode.blockIdExt account:liteServer.accountId = liteServer.AccountState;
|
2020-02-02 12:53:37 +00:00
|
|
|
liteServer.runSmcMethod mode:# id:tonNode.blockIdExt account:liteServer.accountId method_id:long params:bytes = liteServer.RunMethodResult;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.getShardInfo id:tonNode.blockIdExt workchain:int shard:long exact:Bool = liteServer.ShardInfo;
|
|
|
|
liteServer.getAllShardsInfo id:tonNode.blockIdExt = liteServer.AllShardsInfo;
|
|
|
|
liteServer.getOneTransaction id:tonNode.blockIdExt account:liteServer.accountId lt:long = liteServer.TransactionInfo;
|
|
|
|
liteServer.getTransactions count:# account:liteServer.accountId lt:long hash:int256 = liteServer.TransactionList;
|
|
|
|
liteServer.lookupBlock mode:# id:tonNode.blockId lt:mode.1?long utime:mode.2?int = liteServer.BlockHeader;
|
2024-03-19 12:31:29 +00:00
|
|
|
liteServer.lookupBlockWithProof mode:# id:tonNode.blockId mc_block_id:tonNode.blockIdExt lt:mode.1?long utime:mode.2?int = liteServer.LookupBlockResult;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.listBlockTransactions id:tonNode.blockIdExt mode:# count:# after:mode.7?liteServer.transactionId3 reverse_order:mode.6?true want_proof:mode.5?true = liteServer.BlockTransactions;
|
2023-03-07 16:49:25 +00:00
|
|
|
liteServer.listBlockTransactionsExt id:tonNode.blockIdExt mode:# count:# after:mode.7?liteServer.transactionId3 reverse_order:mode.6?true want_proof:mode.5?true = liteServer.BlockTransactionsExt;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.getBlockProof mode:# known_block:tonNode.blockIdExt target_block:mode.0?tonNode.blockIdExt = liteServer.PartialBlockProof;
|
|
|
|
liteServer.getConfigAll mode:# id:tonNode.blockIdExt = liteServer.ConfigInfo;
|
|
|
|
liteServer.getConfigParams mode:# id:tonNode.blockIdExt param_list:(vector int) = liteServer.ConfigInfo;
|
2019-11-28 14:44:14 +00:00
|
|
|
liteServer.getValidatorStats#091a58bc mode:# id:tonNode.blockIdExt limit:int start_after:mode.0?int256 modified_after:mode.2?int = liteServer.ValidatorStats;
|
2022-01-21 01:43:35 +00:00
|
|
|
liteServer.getLibraries library_list:(vector int256) = liteServer.LibraryResult;
|
2024-03-19 12:31:29 +00:00
|
|
|
liteServer.getLibrariesWithProof id:tonNode.blockIdExt mode:# library_list:(vector int256) = liteServer.LibraryResultWithProof;
|
2022-09-20 07:49:28 +00:00
|
|
|
liteServer.getShardBlockProof id:tonNode.blockIdExt = liteServer.ShardBlockProof;
|
2024-03-26 12:55:58 +00:00
|
|
|
liteServer.getOutMsgQueueSizes mode:# wc:mode.0?int shard:mode.0?long = liteServer.OutMsgQueueSizes;
|
2024-06-27 13:12:23 +00:00
|
|
|
liteServer.getBlockOutMsgQueueSize mode:# id:tonNode.blockIdExt want_proof:mode.0?true = liteServer.BlockOutMsgQueueSize;
|
2019-09-07 10:03:22 +00:00
|
|
|
|
2024-05-29 12:11:09 +00:00
|
|
|
liteServer.nonfinal.getValidatorGroups mode:# wc:mode.0?int shard:mode.0?long = liteServer.nonfinal.ValidatorGroups;
|
2024-03-26 11:51:06 +00:00
|
|
|
liteServer.nonfinal.getCandidate id:liteServer.nonfinal.candidateId = liteServer.nonfinal.Candidate;
|
|
|
|
|
2019-09-18 17:46:32 +00:00
|
|
|
liteServer.queryPrefix = Object;
|
2019-09-07 10:03:22 +00:00
|
|
|
liteServer.query data:bytes = Object;
|
2019-10-03 13:04:52 +00:00
|
|
|
liteServer.waitMasterchainSeqno seqno:int timeout_ms:int = Object; // query prefix
|