@thru/proto 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +22 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +247 -3
- package/dist/index.d.ts +247 -3
- package/dist/index.mjs +13 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1112,6 +1112,119 @@ declare enum ExecutionStatus {
|
|
|
1112
1112
|
*/
|
|
1113
1113
|
declare const ExecutionStatusSchema: GenEnum<ExecutionStatus>;
|
|
1114
1114
|
|
|
1115
|
+
/**
|
|
1116
|
+
* Describes the file thru/core/v1/node.proto.
|
|
1117
|
+
*/
|
|
1118
|
+
declare const file_thru_core_v1_node: GenFile;
|
|
1119
|
+
/**
|
|
1120
|
+
* NodeContact represents a network contact address for a node.
|
|
1121
|
+
*
|
|
1122
|
+
* @generated from message thru.core.v1.NodeContact
|
|
1123
|
+
*/
|
|
1124
|
+
type NodeContact = Message<"thru.core.v1.NodeContact"> & {
|
|
1125
|
+
/**
|
|
1126
|
+
* IPv4 address as 32-bit integer (network byte order).
|
|
1127
|
+
*
|
|
1128
|
+
* @generated from field: uint32 ip4_addr = 1;
|
|
1129
|
+
*/
|
|
1130
|
+
ip4Addr: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* Port number.
|
|
1133
|
+
*
|
|
1134
|
+
* @generated from field: uint32 port = 2;
|
|
1135
|
+
*/
|
|
1136
|
+
port: number;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* Describes the message thru.core.v1.NodeContact.
|
|
1140
|
+
* Use `create(NodeContactSchema)` to create a new message.
|
|
1141
|
+
*/
|
|
1142
|
+
declare const NodeContactSchema: GenMessage<NodeContact>;
|
|
1143
|
+
/**
|
|
1144
|
+
* NodeProtocol represents a protocol supported by a node contact.
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from message thru.core.v1.NodeProtocol
|
|
1147
|
+
*/
|
|
1148
|
+
type NodeProtocol = Message<"thru.core.v1.NodeProtocol"> & {
|
|
1149
|
+
/**
|
|
1150
|
+
* Index into the contacts array.
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from field: uint32 contact_idx = 1;
|
|
1153
|
+
*/
|
|
1154
|
+
contactIdx: number;
|
|
1155
|
+
/**
|
|
1156
|
+
* Protocol identifier (discovery=1, block_dissem=2, consensus=3, snapshot=4, repair=5, transaction=6).
|
|
1157
|
+
*
|
|
1158
|
+
* @generated from field: uint32 protocol_id = 2;
|
|
1159
|
+
*/
|
|
1160
|
+
protocolId: number;
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* Describes the message thru.core.v1.NodeProtocol.
|
|
1164
|
+
* Use `create(NodeProtocolSchema)` to create a new message.
|
|
1165
|
+
*/
|
|
1166
|
+
declare const NodeProtocolSchema: GenMessage<NodeProtocol>;
|
|
1167
|
+
/**
|
|
1168
|
+
* NodeRecord represents a node's signed identity and network information.
|
|
1169
|
+
*
|
|
1170
|
+
* @generated from message thru.core.v1.NodeRecord
|
|
1171
|
+
*/
|
|
1172
|
+
type NodeRecord = Message<"thru.core.v1.NodeRecord"> & {
|
|
1173
|
+
/**
|
|
1174
|
+
* Record version.
|
|
1175
|
+
*
|
|
1176
|
+
* @generated from field: uint32 version = 1;
|
|
1177
|
+
*/
|
|
1178
|
+
version: number;
|
|
1179
|
+
/**
|
|
1180
|
+
* Chain identifier.
|
|
1181
|
+
*
|
|
1182
|
+
* @generated from field: uint32 chain_id = 2;
|
|
1183
|
+
*/
|
|
1184
|
+
chainId: number;
|
|
1185
|
+
/**
|
|
1186
|
+
* Sequence number (incremented on each record update).
|
|
1187
|
+
*
|
|
1188
|
+
* @generated from field: uint64 seqnum = 3;
|
|
1189
|
+
*/
|
|
1190
|
+
seqnum: bigint;
|
|
1191
|
+
/**
|
|
1192
|
+
* Node's ED25519 public key.
|
|
1193
|
+
*
|
|
1194
|
+
* @generated from field: thru.common.v1.Pubkey pubkey = 4;
|
|
1195
|
+
*/
|
|
1196
|
+
pubkey?: Pubkey;
|
|
1197
|
+
/**
|
|
1198
|
+
* Network contact addresses.
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from field: repeated thru.core.v1.NodeContact contacts = 5;
|
|
1201
|
+
*/
|
|
1202
|
+
contacts: NodeContact[];
|
|
1203
|
+
/**
|
|
1204
|
+
* Protocols supported at each contact.
|
|
1205
|
+
*
|
|
1206
|
+
* @generated from field: repeated thru.core.v1.NodeProtocol protocols = 6;
|
|
1207
|
+
*/
|
|
1208
|
+
protocols: NodeProtocol[];
|
|
1209
|
+
/**
|
|
1210
|
+
* ED25519 signature over the record.
|
|
1211
|
+
*
|
|
1212
|
+
* @generated from field: bytes signature = 7;
|
|
1213
|
+
*/
|
|
1214
|
+
signature: Uint8Array;
|
|
1215
|
+
/**
|
|
1216
|
+
* True if this is the responding node's own record.
|
|
1217
|
+
*
|
|
1218
|
+
* @generated from field: bool is_own = 8;
|
|
1219
|
+
*/
|
|
1220
|
+
isOwn: boolean;
|
|
1221
|
+
};
|
|
1222
|
+
/**
|
|
1223
|
+
* Describes the message thru.core.v1.NodeRecord.
|
|
1224
|
+
* Use `create(NodeRecordSchema)` to create a new message.
|
|
1225
|
+
*/
|
|
1226
|
+
declare const NodeRecordSchema: GenMessage<NodeRecord>;
|
|
1227
|
+
|
|
1115
1228
|
/**
|
|
1116
1229
|
* Describes the file thru/core/v1/state.proto.
|
|
1117
1230
|
*/
|
|
@@ -3377,6 +3490,60 @@ type ListSlotMetricsResponse = Message<"thru.services.v1.ListSlotMetricsResponse
|
|
|
3377
3490
|
* Use `create(ListSlotMetricsResponseSchema)` to create a new message.
|
|
3378
3491
|
*/
|
|
3379
3492
|
declare const ListSlotMetricsResponseSchema: GenMessage<ListSlotMetricsResponse>;
|
|
3493
|
+
/**
|
|
3494
|
+
* GetNodePubkeyRequest requests the node's own public key.
|
|
3495
|
+
*
|
|
3496
|
+
* @generated from message thru.services.v1.GetNodePubkeyRequest
|
|
3497
|
+
*/
|
|
3498
|
+
type GetNodePubkeyRequest = Message<"thru.services.v1.GetNodePubkeyRequest"> & {};
|
|
3499
|
+
/**
|
|
3500
|
+
* Describes the message thru.services.v1.GetNodePubkeyRequest.
|
|
3501
|
+
* Use `create(GetNodePubkeyRequestSchema)` to create a new message.
|
|
3502
|
+
*/
|
|
3503
|
+
declare const GetNodePubkeyRequestSchema: GenMessage<GetNodePubkeyRequest>;
|
|
3504
|
+
/**
|
|
3505
|
+
* GetNodePubkeyResponse returns the node's ED25519 public key.
|
|
3506
|
+
*
|
|
3507
|
+
* @generated from message thru.services.v1.GetNodePubkeyResponse
|
|
3508
|
+
*/
|
|
3509
|
+
type GetNodePubkeyResponse = Message<"thru.services.v1.GetNodePubkeyResponse"> & {
|
|
3510
|
+
/**
|
|
3511
|
+
* @generated from field: thru.common.v1.Pubkey pubkey = 1;
|
|
3512
|
+
*/
|
|
3513
|
+
pubkey?: Pubkey;
|
|
3514
|
+
};
|
|
3515
|
+
/**
|
|
3516
|
+
* Describes the message thru.services.v1.GetNodePubkeyResponse.
|
|
3517
|
+
* Use `create(GetNodePubkeyResponseSchema)` to create a new message.
|
|
3518
|
+
*/
|
|
3519
|
+
declare const GetNodePubkeyResponseSchema: GenMessage<GetNodePubkeyResponse>;
|
|
3520
|
+
/**
|
|
3521
|
+
* GetNodeRecordsRequest requests all known node records.
|
|
3522
|
+
*
|
|
3523
|
+
* @generated from message thru.services.v1.GetNodeRecordsRequest
|
|
3524
|
+
*/
|
|
3525
|
+
type GetNodeRecordsRequest = Message<"thru.services.v1.GetNodeRecordsRequest"> & {};
|
|
3526
|
+
/**
|
|
3527
|
+
* Describes the message thru.services.v1.GetNodeRecordsRequest.
|
|
3528
|
+
* Use `create(GetNodeRecordsRequestSchema)` to create a new message.
|
|
3529
|
+
*/
|
|
3530
|
+
declare const GetNodeRecordsRequestSchema: GenMessage<GetNodeRecordsRequest>;
|
|
3531
|
+
/**
|
|
3532
|
+
* GetNodeRecordsResponse returns all known node records from the gossip network.
|
|
3533
|
+
*
|
|
3534
|
+
* @generated from message thru.services.v1.GetNodeRecordsResponse
|
|
3535
|
+
*/
|
|
3536
|
+
type GetNodeRecordsResponse = Message<"thru.services.v1.GetNodeRecordsResponse"> & {
|
|
3537
|
+
/**
|
|
3538
|
+
* @generated from field: repeated thru.core.v1.NodeRecord records = 1;
|
|
3539
|
+
*/
|
|
3540
|
+
records: NodeRecord[];
|
|
3541
|
+
};
|
|
3542
|
+
/**
|
|
3543
|
+
* Describes the message thru.services.v1.GetNodeRecordsResponse.
|
|
3544
|
+
* Use `create(GetNodeRecordsResponseSchema)` to create a new message.
|
|
3545
|
+
*/
|
|
3546
|
+
declare const GetNodeRecordsResponseSchema: GenMessage<GetNodeRecordsResponse>;
|
|
3380
3547
|
/**
|
|
3381
3548
|
* QueryService defines unary RPCs for accessing blockchain data.
|
|
3382
3549
|
*
|
|
@@ -3584,6 +3751,26 @@ declare const QueryService: GenService<{
|
|
|
3584
3751
|
input: typeof ListSlotMetricsRequestSchema;
|
|
3585
3752
|
output: typeof ListSlotMetricsResponseSchema;
|
|
3586
3753
|
};
|
|
3754
|
+
/**
|
|
3755
|
+
* Get the node's own ED25519 public key.
|
|
3756
|
+
*
|
|
3757
|
+
* @generated from rpc thru.services.v1.QueryService.GetNodePubkey
|
|
3758
|
+
*/
|
|
3759
|
+
getNodePubkey: {
|
|
3760
|
+
methodKind: "unary";
|
|
3761
|
+
input: typeof GetNodePubkeyRequestSchema;
|
|
3762
|
+
output: typeof GetNodePubkeyResponseSchema;
|
|
3763
|
+
};
|
|
3764
|
+
/**
|
|
3765
|
+
* Get all known node records from the gossip network.
|
|
3766
|
+
*
|
|
3767
|
+
* @generated from rpc thru.services.v1.QueryService.GetNodeRecords
|
|
3768
|
+
*/
|
|
3769
|
+
getNodeRecords: {
|
|
3770
|
+
methodKind: "unary";
|
|
3771
|
+
input: typeof GetNodeRecordsRequestSchema;
|
|
3772
|
+
output: typeof GetNodeRecordsResponseSchema;
|
|
3773
|
+
};
|
|
3587
3774
|
}>;
|
|
3588
3775
|
|
|
3589
3776
|
/**
|
|
@@ -4386,9 +4573,9 @@ type StreamSlotMetricsResponse = Message<"thru.services.v1.StreamSlotMetricsResp
|
|
|
4386
4573
|
*/
|
|
4387
4574
|
collectedFees: bigint;
|
|
4388
4575
|
/**
|
|
4389
|
-
* Block timestamp
|
|
4576
|
+
* Block timestamp.
|
|
4390
4577
|
*
|
|
4391
|
-
* @generated from field:
|
|
4578
|
+
* @generated from field: google.protobuf.Timestamp block_timestamp = 5;
|
|
4392
4579
|
*/
|
|
4393
4580
|
blockTimestamp?: Timestamp;
|
|
4394
4581
|
};
|
|
@@ -4432,6 +4619,52 @@ type StreamHeightResponse = Message<"thru.services.v1.StreamHeightResponse"> & {
|
|
|
4432
4619
|
* Use `create(StreamHeightResponseSchema)` to create a new message.
|
|
4433
4620
|
*/
|
|
4434
4621
|
declare const StreamHeightResponseSchema: GenMessage<StreamHeightResponse>;
|
|
4622
|
+
/**
|
|
4623
|
+
* StreamNodeRecordsRequest subscribes to node record updates from the gossip network.
|
|
4624
|
+
*
|
|
4625
|
+
* @generated from message thru.services.v1.StreamNodeRecordsRequest
|
|
4626
|
+
*/
|
|
4627
|
+
type StreamNodeRecordsRequest = Message<"thru.services.v1.StreamNodeRecordsRequest"> & {};
|
|
4628
|
+
/**
|
|
4629
|
+
* Describes the message thru.services.v1.StreamNodeRecordsRequest.
|
|
4630
|
+
* Use `create(StreamNodeRecordsRequestSchema)` to create a new message.
|
|
4631
|
+
*/
|
|
4632
|
+
declare const StreamNodeRecordsRequestSchema: GenMessage<StreamNodeRecordsRequest>;
|
|
4633
|
+
/**
|
|
4634
|
+
* StreamNodeRecordsResponse delivers node record updates.
|
|
4635
|
+
*
|
|
4636
|
+
* @generated from message thru.services.v1.StreamNodeRecordsResponse
|
|
4637
|
+
*/
|
|
4638
|
+
type StreamNodeRecordsResponse = Message<"thru.services.v1.StreamNodeRecordsResponse"> & {
|
|
4639
|
+
/**
|
|
4640
|
+
* @generated from oneof thru.services.v1.StreamNodeRecordsResponse.message
|
|
4641
|
+
*/
|
|
4642
|
+
message: {
|
|
4643
|
+
/**
|
|
4644
|
+
* A node record (initial snapshot or update).
|
|
4645
|
+
*
|
|
4646
|
+
* @generated from field: thru.core.v1.NodeRecord record = 1;
|
|
4647
|
+
*/
|
|
4648
|
+
value: NodeRecord;
|
|
4649
|
+
case: "record";
|
|
4650
|
+
} | {
|
|
4651
|
+
/**
|
|
4652
|
+
* Signals the initial batch of records is complete.
|
|
4653
|
+
*
|
|
4654
|
+
* @generated from field: bool finished = 2;
|
|
4655
|
+
*/
|
|
4656
|
+
value: boolean;
|
|
4657
|
+
case: "finished";
|
|
4658
|
+
} | {
|
|
4659
|
+
case: undefined;
|
|
4660
|
+
value?: undefined;
|
|
4661
|
+
};
|
|
4662
|
+
};
|
|
4663
|
+
/**
|
|
4664
|
+
* Describes the message thru.services.v1.StreamNodeRecordsResponse.
|
|
4665
|
+
* Use `create(StreamNodeRecordsResponseSchema)` to create a new message.
|
|
4666
|
+
*/
|
|
4667
|
+
declare const StreamNodeRecordsResponseSchema: GenMessage<StreamNodeRecordsResponse>;
|
|
4435
4668
|
/**
|
|
4436
4669
|
* StreamingService serves server-streaming gRPC APIs for real-time data.
|
|
4437
4670
|
*
|
|
@@ -4497,6 +4730,17 @@ declare const StreamingService: GenService<{
|
|
|
4497
4730
|
input: typeof StreamSlotMetricsRequestSchema;
|
|
4498
4731
|
output: typeof StreamSlotMetricsResponseSchema;
|
|
4499
4732
|
};
|
|
4733
|
+
/**
|
|
4734
|
+
* Stream node records from the gossip network.
|
|
4735
|
+
* Returns an initial snapshot of all known records, followed by live updates.
|
|
4736
|
+
*
|
|
4737
|
+
* @generated from rpc thru.services.v1.StreamingService.StreamNodeRecords
|
|
4738
|
+
*/
|
|
4739
|
+
streamNodeRecords: {
|
|
4740
|
+
methodKind: "server_streaming";
|
|
4741
|
+
input: typeof StreamNodeRecordsRequestSchema;
|
|
4742
|
+
output: typeof StreamNodeRecordsResponseSchema;
|
|
4743
|
+
};
|
|
4500
4744
|
}>;
|
|
4501
4745
|
|
|
4502
|
-
export { type Account, type AccountData, AccountDataSchema, type AccountFlags, AccountFlagsSchema, type AccountMeta, AccountMetaSchema, type AccountPage, AccountPageSchema, AccountSchema, type AccountUpdate, AccountUpdateSchema, AccountView, AccountViewSchema, type BatchSendTransactionsRequest, BatchSendTransactionsRequestSchema, type BatchSendTransactionsResponse, BatchSendTransactionsResponseSchema, type Block, type BlockFinished, BlockFinishedSchema, type BlockFooter, BlockFooterSchema, type BlockHash, BlockHashSchema, type BlockHeader, BlockHeaderSchema, BlockSchema, BlockView, BlockViewSchema, type BytesList, BytesListSchema, type CelFilterValidation, CelFilterValidationSchema, CommandService, ConsensusStatus, ConsensusStatusSchema, type CurrentOrHistoricalVersion, CurrentOrHistoricalVersionSchema, type CurrentVersion, CurrentVersionSchema, type DataSlice, DataSliceSchema, type ErrorDetail, ErrorDetailSchema, ErrorType, ErrorTypeSchema, type Event, EventSchema, ExecutionStatus, ExecutionStatusSchema, type Filter, type FilterParamValue, FilterParamValueSchema, FilterSchema, type GenerateStateProofRequest, GenerateStateProofRequestSchema, type GenerateStateProofResponse, GenerateStateProofResponseSchema, type GetAccountRequest, GetAccountRequestSchema, type GetBlockRequest, GetBlockRequestSchema, type GetChainInfoRequest, GetChainInfoRequestSchema, type GetChainInfoResponse, GetChainInfoResponseSchema, type GetEventRequest, GetEventRequestSchema, type GetHeightRequest, GetHeightRequestSchema, type GetHeightResponse, GetHeightResponseSchema, type GetRawAccountRequest, GetRawAccountRequestSchema, type GetRawBlockRequest, GetRawBlockRequestSchema, type GetRawTransactionRequest, GetRawTransactionRequestSchema, type GetSlotMetricsRequest, GetSlotMetricsRequestSchema, type GetSlotMetricsResponse, GetSlotMetricsResponseSchema, type GetStateRootsRequest, GetStateRootsRequestSchema, type GetStateRootsResponse, GetStateRootsResponseSchema, type GetTransactionRequest, GetTransactionRequestSchema, type GetTransactionStatusRequest, GetTransactionStatusRequestSchema, type GetVersionRequest, GetVersionRequestSchema, type GetVersionResponse, GetVersionResponseSchema, type Hash, HashSchema, type ListAccountsRequest, ListAccountsRequestSchema, type ListAccountsResponse, ListAccountsResponseSchema, type ListBlocksRequest, ListBlocksRequestSchema, type ListBlocksResponse, ListBlocksResponseSchema, type ListEventsRequest, ListEventsRequestSchema, type ListEventsResponse, ListEventsResponseSchema, type ListSlotMetricsRequest, ListSlotMetricsRequestSchema, type ListSlotMetricsResponse, ListSlotMetricsResponseSchema, type ListTransactionsForAccountRequest, ListTransactionsForAccountRequestSchema, type ListTransactionsForAccountResponse, ListTransactionsForAccountResponseSchema, type ListTransactionsRequest, ListTransactionsRequestSchema, type ListTransactionsResponse, ListTransactionsResponseSchema, type PageRequest, PageRequestSchema, type PageResponse, PageResponseSchema, type Pubkey, type PubkeyList, PubkeyListSchema, PubkeySchema, QueryService, type RawAccount, RawAccountSchema, type RawBlock, RawBlockSchema, type RawTransaction, RawTransactionSchema, type SendAndTrackTxnRequest, SendAndTrackTxnRequestSchema, type SendAndTrackTxnResponse, SendAndTrackTxnResponseSchema, type SendTransactionRequest, SendTransactionRequestSchema, type SendTransactionResponse, SendTransactionResponseSchema, type Signature, SignatureSchema, type StateProof, type StateProofRequest, StateProofRequestSchema, StateProofSchema, StateProofType, StateProofTypeSchema, type StateRootEntry, StateRootEntrySchema, type StreamAccountUpdatesRequest, StreamAccountUpdatesRequestSchema, type StreamAccountUpdatesResponse, StreamAccountUpdatesResponseSchema, type StreamBlocksRequest, StreamBlocksRequestSchema, type StreamBlocksResponse, StreamBlocksResponseSchema, type StreamEventsRequest, StreamEventsRequestSchema, type StreamEventsResponse, StreamEventsResponseSchema, type StreamHeightRequest, StreamHeightRequestSchema, type StreamHeightResponse, StreamHeightResponseSchema, type StreamSlotMetricsRequest, StreamSlotMetricsRequestSchema, type StreamSlotMetricsResponse, StreamSlotMetricsResponseSchema, type StreamTransactionsRequest, StreamTransactionsRequestSchema, type StreamTransactionsResponse, StreamTransactionsResponseSchema, StreamingService, SubmissionStatus, SubmissionStatusSchema, type TaPubkey, TaPubkeySchema, type TrackTransactionRequest, TrackTransactionRequestSchema, type TrackTransactionResponse, TrackTransactionResponseSchema, type Transaction, type TransactionEvent, TransactionEventSchema, type TransactionExecutionResult, TransactionExecutionResultSchema, type TransactionHeader, TransactionHeaderSchema, TransactionSchema, type TransactionStatus, TransactionStatusSchema, TransactionView, TransactionViewSchema, TransactionVmError, TransactionVmErrorSchema, type TsSignature, TsSignatureSchema, type VersionContext, type VersionContextMetadata, VersionContextMetadataSchema, VersionContextSchema, file_thru_common_v1_consensus, file_thru_common_v1_errors, file_thru_common_v1_filters, file_thru_common_v1_pagination, file_thru_common_v1_primitives, file_thru_core_v1_account, file_thru_core_v1_block, file_thru_core_v1_state, file_thru_core_v1_transaction, file_thru_core_v1_types, file_thru_services_v1_command_service, file_thru_services_v1_query_service, file_thru_services_v1_streaming_service };
|
|
4746
|
+
export { type Account, type AccountData, AccountDataSchema, type AccountFlags, AccountFlagsSchema, type AccountMeta, AccountMetaSchema, type AccountPage, AccountPageSchema, AccountSchema, type AccountUpdate, AccountUpdateSchema, AccountView, AccountViewSchema, type BatchSendTransactionsRequest, BatchSendTransactionsRequestSchema, type BatchSendTransactionsResponse, BatchSendTransactionsResponseSchema, type Block, type BlockFinished, BlockFinishedSchema, type BlockFooter, BlockFooterSchema, type BlockHash, BlockHashSchema, type BlockHeader, BlockHeaderSchema, BlockSchema, BlockView, BlockViewSchema, type BytesList, BytesListSchema, type CelFilterValidation, CelFilterValidationSchema, CommandService, ConsensusStatus, ConsensusStatusSchema, type CurrentOrHistoricalVersion, CurrentOrHistoricalVersionSchema, type CurrentVersion, CurrentVersionSchema, type DataSlice, DataSliceSchema, type ErrorDetail, ErrorDetailSchema, ErrorType, ErrorTypeSchema, type Event, EventSchema, ExecutionStatus, ExecutionStatusSchema, type Filter, type FilterParamValue, FilterParamValueSchema, FilterSchema, type GenerateStateProofRequest, GenerateStateProofRequestSchema, type GenerateStateProofResponse, GenerateStateProofResponseSchema, type GetAccountRequest, GetAccountRequestSchema, type GetBlockRequest, GetBlockRequestSchema, type GetChainInfoRequest, GetChainInfoRequestSchema, type GetChainInfoResponse, GetChainInfoResponseSchema, type GetEventRequest, GetEventRequestSchema, type GetHeightRequest, GetHeightRequestSchema, type GetHeightResponse, GetHeightResponseSchema, type GetNodePubkeyRequest, GetNodePubkeyRequestSchema, type GetNodePubkeyResponse, GetNodePubkeyResponseSchema, type GetNodeRecordsRequest, GetNodeRecordsRequestSchema, type GetNodeRecordsResponse, GetNodeRecordsResponseSchema, type GetRawAccountRequest, GetRawAccountRequestSchema, type GetRawBlockRequest, GetRawBlockRequestSchema, type GetRawTransactionRequest, GetRawTransactionRequestSchema, type GetSlotMetricsRequest, GetSlotMetricsRequestSchema, type GetSlotMetricsResponse, GetSlotMetricsResponseSchema, type GetStateRootsRequest, GetStateRootsRequestSchema, type GetStateRootsResponse, GetStateRootsResponseSchema, type GetTransactionRequest, GetTransactionRequestSchema, type GetTransactionStatusRequest, GetTransactionStatusRequestSchema, type GetVersionRequest, GetVersionRequestSchema, type GetVersionResponse, GetVersionResponseSchema, type Hash, HashSchema, type ListAccountsRequest, ListAccountsRequestSchema, type ListAccountsResponse, ListAccountsResponseSchema, type ListBlocksRequest, ListBlocksRequestSchema, type ListBlocksResponse, ListBlocksResponseSchema, type ListEventsRequest, ListEventsRequestSchema, type ListEventsResponse, ListEventsResponseSchema, type ListSlotMetricsRequest, ListSlotMetricsRequestSchema, type ListSlotMetricsResponse, ListSlotMetricsResponseSchema, type ListTransactionsForAccountRequest, ListTransactionsForAccountRequestSchema, type ListTransactionsForAccountResponse, ListTransactionsForAccountResponseSchema, type ListTransactionsRequest, ListTransactionsRequestSchema, type ListTransactionsResponse, ListTransactionsResponseSchema, type NodeContact, NodeContactSchema, type NodeProtocol, NodeProtocolSchema, type NodeRecord, NodeRecordSchema, type PageRequest, PageRequestSchema, type PageResponse, PageResponseSchema, type Pubkey, type PubkeyList, PubkeyListSchema, PubkeySchema, QueryService, type RawAccount, RawAccountSchema, type RawBlock, RawBlockSchema, type RawTransaction, RawTransactionSchema, type SendAndTrackTxnRequest, SendAndTrackTxnRequestSchema, type SendAndTrackTxnResponse, SendAndTrackTxnResponseSchema, type SendTransactionRequest, SendTransactionRequestSchema, type SendTransactionResponse, SendTransactionResponseSchema, type Signature, SignatureSchema, type StateProof, type StateProofRequest, StateProofRequestSchema, StateProofSchema, StateProofType, StateProofTypeSchema, type StateRootEntry, StateRootEntrySchema, type StreamAccountUpdatesRequest, StreamAccountUpdatesRequestSchema, type StreamAccountUpdatesResponse, StreamAccountUpdatesResponseSchema, type StreamBlocksRequest, StreamBlocksRequestSchema, type StreamBlocksResponse, StreamBlocksResponseSchema, type StreamEventsRequest, StreamEventsRequestSchema, type StreamEventsResponse, StreamEventsResponseSchema, type StreamHeightRequest, StreamHeightRequestSchema, type StreamHeightResponse, StreamHeightResponseSchema, type StreamNodeRecordsRequest, StreamNodeRecordsRequestSchema, type StreamNodeRecordsResponse, StreamNodeRecordsResponseSchema, type StreamSlotMetricsRequest, StreamSlotMetricsRequestSchema, type StreamSlotMetricsResponse, StreamSlotMetricsResponseSchema, type StreamTransactionsRequest, StreamTransactionsRequestSchema, type StreamTransactionsResponse, StreamTransactionsResponseSchema, StreamingService, SubmissionStatus, SubmissionStatusSchema, type TaPubkey, TaPubkeySchema, type TrackTransactionRequest, TrackTransactionRequestSchema, type TrackTransactionResponse, TrackTransactionResponseSchema, type Transaction, type TransactionEvent, TransactionEventSchema, type TransactionExecutionResult, TransactionExecutionResultSchema, type TransactionHeader, TransactionHeaderSchema, TransactionSchema, type TransactionStatus, TransactionStatusSchema, TransactionView, TransactionViewSchema, TransactionVmError, TransactionVmErrorSchema, type TsSignature, TsSignatureSchema, type VersionContext, type VersionContextMetadata, VersionContextMetadataSchema, VersionContextSchema, file_thru_common_v1_consensus, file_thru_common_v1_errors, file_thru_common_v1_filters, file_thru_common_v1_pagination, file_thru_common_v1_primitives, file_thru_core_v1_account, file_thru_core_v1_block, file_thru_core_v1_node, file_thru_core_v1_state, file_thru_core_v1_transaction, file_thru_core_v1_types, file_thru_services_v1_command_service, file_thru_services_v1_query_service, file_thru_services_v1_streaming_service };
|
package/dist/index.d.ts
CHANGED
|
@@ -1112,6 +1112,119 @@ declare enum ExecutionStatus {
|
|
|
1112
1112
|
*/
|
|
1113
1113
|
declare const ExecutionStatusSchema: GenEnum<ExecutionStatus>;
|
|
1114
1114
|
|
|
1115
|
+
/**
|
|
1116
|
+
* Describes the file thru/core/v1/node.proto.
|
|
1117
|
+
*/
|
|
1118
|
+
declare const file_thru_core_v1_node: GenFile;
|
|
1119
|
+
/**
|
|
1120
|
+
* NodeContact represents a network contact address for a node.
|
|
1121
|
+
*
|
|
1122
|
+
* @generated from message thru.core.v1.NodeContact
|
|
1123
|
+
*/
|
|
1124
|
+
type NodeContact = Message<"thru.core.v1.NodeContact"> & {
|
|
1125
|
+
/**
|
|
1126
|
+
* IPv4 address as 32-bit integer (network byte order).
|
|
1127
|
+
*
|
|
1128
|
+
* @generated from field: uint32 ip4_addr = 1;
|
|
1129
|
+
*/
|
|
1130
|
+
ip4Addr: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* Port number.
|
|
1133
|
+
*
|
|
1134
|
+
* @generated from field: uint32 port = 2;
|
|
1135
|
+
*/
|
|
1136
|
+
port: number;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* Describes the message thru.core.v1.NodeContact.
|
|
1140
|
+
* Use `create(NodeContactSchema)` to create a new message.
|
|
1141
|
+
*/
|
|
1142
|
+
declare const NodeContactSchema: GenMessage<NodeContact>;
|
|
1143
|
+
/**
|
|
1144
|
+
* NodeProtocol represents a protocol supported by a node contact.
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from message thru.core.v1.NodeProtocol
|
|
1147
|
+
*/
|
|
1148
|
+
type NodeProtocol = Message<"thru.core.v1.NodeProtocol"> & {
|
|
1149
|
+
/**
|
|
1150
|
+
* Index into the contacts array.
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from field: uint32 contact_idx = 1;
|
|
1153
|
+
*/
|
|
1154
|
+
contactIdx: number;
|
|
1155
|
+
/**
|
|
1156
|
+
* Protocol identifier (discovery=1, block_dissem=2, consensus=3, snapshot=4, repair=5, transaction=6).
|
|
1157
|
+
*
|
|
1158
|
+
* @generated from field: uint32 protocol_id = 2;
|
|
1159
|
+
*/
|
|
1160
|
+
protocolId: number;
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* Describes the message thru.core.v1.NodeProtocol.
|
|
1164
|
+
* Use `create(NodeProtocolSchema)` to create a new message.
|
|
1165
|
+
*/
|
|
1166
|
+
declare const NodeProtocolSchema: GenMessage<NodeProtocol>;
|
|
1167
|
+
/**
|
|
1168
|
+
* NodeRecord represents a node's signed identity and network information.
|
|
1169
|
+
*
|
|
1170
|
+
* @generated from message thru.core.v1.NodeRecord
|
|
1171
|
+
*/
|
|
1172
|
+
type NodeRecord = Message<"thru.core.v1.NodeRecord"> & {
|
|
1173
|
+
/**
|
|
1174
|
+
* Record version.
|
|
1175
|
+
*
|
|
1176
|
+
* @generated from field: uint32 version = 1;
|
|
1177
|
+
*/
|
|
1178
|
+
version: number;
|
|
1179
|
+
/**
|
|
1180
|
+
* Chain identifier.
|
|
1181
|
+
*
|
|
1182
|
+
* @generated from field: uint32 chain_id = 2;
|
|
1183
|
+
*/
|
|
1184
|
+
chainId: number;
|
|
1185
|
+
/**
|
|
1186
|
+
* Sequence number (incremented on each record update).
|
|
1187
|
+
*
|
|
1188
|
+
* @generated from field: uint64 seqnum = 3;
|
|
1189
|
+
*/
|
|
1190
|
+
seqnum: bigint;
|
|
1191
|
+
/**
|
|
1192
|
+
* Node's ED25519 public key.
|
|
1193
|
+
*
|
|
1194
|
+
* @generated from field: thru.common.v1.Pubkey pubkey = 4;
|
|
1195
|
+
*/
|
|
1196
|
+
pubkey?: Pubkey;
|
|
1197
|
+
/**
|
|
1198
|
+
* Network contact addresses.
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from field: repeated thru.core.v1.NodeContact contacts = 5;
|
|
1201
|
+
*/
|
|
1202
|
+
contacts: NodeContact[];
|
|
1203
|
+
/**
|
|
1204
|
+
* Protocols supported at each contact.
|
|
1205
|
+
*
|
|
1206
|
+
* @generated from field: repeated thru.core.v1.NodeProtocol protocols = 6;
|
|
1207
|
+
*/
|
|
1208
|
+
protocols: NodeProtocol[];
|
|
1209
|
+
/**
|
|
1210
|
+
* ED25519 signature over the record.
|
|
1211
|
+
*
|
|
1212
|
+
* @generated from field: bytes signature = 7;
|
|
1213
|
+
*/
|
|
1214
|
+
signature: Uint8Array;
|
|
1215
|
+
/**
|
|
1216
|
+
* True if this is the responding node's own record.
|
|
1217
|
+
*
|
|
1218
|
+
* @generated from field: bool is_own = 8;
|
|
1219
|
+
*/
|
|
1220
|
+
isOwn: boolean;
|
|
1221
|
+
};
|
|
1222
|
+
/**
|
|
1223
|
+
* Describes the message thru.core.v1.NodeRecord.
|
|
1224
|
+
* Use `create(NodeRecordSchema)` to create a new message.
|
|
1225
|
+
*/
|
|
1226
|
+
declare const NodeRecordSchema: GenMessage<NodeRecord>;
|
|
1227
|
+
|
|
1115
1228
|
/**
|
|
1116
1229
|
* Describes the file thru/core/v1/state.proto.
|
|
1117
1230
|
*/
|
|
@@ -3377,6 +3490,60 @@ type ListSlotMetricsResponse = Message<"thru.services.v1.ListSlotMetricsResponse
|
|
|
3377
3490
|
* Use `create(ListSlotMetricsResponseSchema)` to create a new message.
|
|
3378
3491
|
*/
|
|
3379
3492
|
declare const ListSlotMetricsResponseSchema: GenMessage<ListSlotMetricsResponse>;
|
|
3493
|
+
/**
|
|
3494
|
+
* GetNodePubkeyRequest requests the node's own public key.
|
|
3495
|
+
*
|
|
3496
|
+
* @generated from message thru.services.v1.GetNodePubkeyRequest
|
|
3497
|
+
*/
|
|
3498
|
+
type GetNodePubkeyRequest = Message<"thru.services.v1.GetNodePubkeyRequest"> & {};
|
|
3499
|
+
/**
|
|
3500
|
+
* Describes the message thru.services.v1.GetNodePubkeyRequest.
|
|
3501
|
+
* Use `create(GetNodePubkeyRequestSchema)` to create a new message.
|
|
3502
|
+
*/
|
|
3503
|
+
declare const GetNodePubkeyRequestSchema: GenMessage<GetNodePubkeyRequest>;
|
|
3504
|
+
/**
|
|
3505
|
+
* GetNodePubkeyResponse returns the node's ED25519 public key.
|
|
3506
|
+
*
|
|
3507
|
+
* @generated from message thru.services.v1.GetNodePubkeyResponse
|
|
3508
|
+
*/
|
|
3509
|
+
type GetNodePubkeyResponse = Message<"thru.services.v1.GetNodePubkeyResponse"> & {
|
|
3510
|
+
/**
|
|
3511
|
+
* @generated from field: thru.common.v1.Pubkey pubkey = 1;
|
|
3512
|
+
*/
|
|
3513
|
+
pubkey?: Pubkey;
|
|
3514
|
+
};
|
|
3515
|
+
/**
|
|
3516
|
+
* Describes the message thru.services.v1.GetNodePubkeyResponse.
|
|
3517
|
+
* Use `create(GetNodePubkeyResponseSchema)` to create a new message.
|
|
3518
|
+
*/
|
|
3519
|
+
declare const GetNodePubkeyResponseSchema: GenMessage<GetNodePubkeyResponse>;
|
|
3520
|
+
/**
|
|
3521
|
+
* GetNodeRecordsRequest requests all known node records.
|
|
3522
|
+
*
|
|
3523
|
+
* @generated from message thru.services.v1.GetNodeRecordsRequest
|
|
3524
|
+
*/
|
|
3525
|
+
type GetNodeRecordsRequest = Message<"thru.services.v1.GetNodeRecordsRequest"> & {};
|
|
3526
|
+
/**
|
|
3527
|
+
* Describes the message thru.services.v1.GetNodeRecordsRequest.
|
|
3528
|
+
* Use `create(GetNodeRecordsRequestSchema)` to create a new message.
|
|
3529
|
+
*/
|
|
3530
|
+
declare const GetNodeRecordsRequestSchema: GenMessage<GetNodeRecordsRequest>;
|
|
3531
|
+
/**
|
|
3532
|
+
* GetNodeRecordsResponse returns all known node records from the gossip network.
|
|
3533
|
+
*
|
|
3534
|
+
* @generated from message thru.services.v1.GetNodeRecordsResponse
|
|
3535
|
+
*/
|
|
3536
|
+
type GetNodeRecordsResponse = Message<"thru.services.v1.GetNodeRecordsResponse"> & {
|
|
3537
|
+
/**
|
|
3538
|
+
* @generated from field: repeated thru.core.v1.NodeRecord records = 1;
|
|
3539
|
+
*/
|
|
3540
|
+
records: NodeRecord[];
|
|
3541
|
+
};
|
|
3542
|
+
/**
|
|
3543
|
+
* Describes the message thru.services.v1.GetNodeRecordsResponse.
|
|
3544
|
+
* Use `create(GetNodeRecordsResponseSchema)` to create a new message.
|
|
3545
|
+
*/
|
|
3546
|
+
declare const GetNodeRecordsResponseSchema: GenMessage<GetNodeRecordsResponse>;
|
|
3380
3547
|
/**
|
|
3381
3548
|
* QueryService defines unary RPCs for accessing blockchain data.
|
|
3382
3549
|
*
|
|
@@ -3584,6 +3751,26 @@ declare const QueryService: GenService<{
|
|
|
3584
3751
|
input: typeof ListSlotMetricsRequestSchema;
|
|
3585
3752
|
output: typeof ListSlotMetricsResponseSchema;
|
|
3586
3753
|
};
|
|
3754
|
+
/**
|
|
3755
|
+
* Get the node's own ED25519 public key.
|
|
3756
|
+
*
|
|
3757
|
+
* @generated from rpc thru.services.v1.QueryService.GetNodePubkey
|
|
3758
|
+
*/
|
|
3759
|
+
getNodePubkey: {
|
|
3760
|
+
methodKind: "unary";
|
|
3761
|
+
input: typeof GetNodePubkeyRequestSchema;
|
|
3762
|
+
output: typeof GetNodePubkeyResponseSchema;
|
|
3763
|
+
};
|
|
3764
|
+
/**
|
|
3765
|
+
* Get all known node records from the gossip network.
|
|
3766
|
+
*
|
|
3767
|
+
* @generated from rpc thru.services.v1.QueryService.GetNodeRecords
|
|
3768
|
+
*/
|
|
3769
|
+
getNodeRecords: {
|
|
3770
|
+
methodKind: "unary";
|
|
3771
|
+
input: typeof GetNodeRecordsRequestSchema;
|
|
3772
|
+
output: typeof GetNodeRecordsResponseSchema;
|
|
3773
|
+
};
|
|
3587
3774
|
}>;
|
|
3588
3775
|
|
|
3589
3776
|
/**
|
|
@@ -4386,9 +4573,9 @@ type StreamSlotMetricsResponse = Message<"thru.services.v1.StreamSlotMetricsResp
|
|
|
4386
4573
|
*/
|
|
4387
4574
|
collectedFees: bigint;
|
|
4388
4575
|
/**
|
|
4389
|
-
* Block timestamp
|
|
4576
|
+
* Block timestamp.
|
|
4390
4577
|
*
|
|
4391
|
-
* @generated from field:
|
|
4578
|
+
* @generated from field: google.protobuf.Timestamp block_timestamp = 5;
|
|
4392
4579
|
*/
|
|
4393
4580
|
blockTimestamp?: Timestamp;
|
|
4394
4581
|
};
|
|
@@ -4432,6 +4619,52 @@ type StreamHeightResponse = Message<"thru.services.v1.StreamHeightResponse"> & {
|
|
|
4432
4619
|
* Use `create(StreamHeightResponseSchema)` to create a new message.
|
|
4433
4620
|
*/
|
|
4434
4621
|
declare const StreamHeightResponseSchema: GenMessage<StreamHeightResponse>;
|
|
4622
|
+
/**
|
|
4623
|
+
* StreamNodeRecordsRequest subscribes to node record updates from the gossip network.
|
|
4624
|
+
*
|
|
4625
|
+
* @generated from message thru.services.v1.StreamNodeRecordsRequest
|
|
4626
|
+
*/
|
|
4627
|
+
type StreamNodeRecordsRequest = Message<"thru.services.v1.StreamNodeRecordsRequest"> & {};
|
|
4628
|
+
/**
|
|
4629
|
+
* Describes the message thru.services.v1.StreamNodeRecordsRequest.
|
|
4630
|
+
* Use `create(StreamNodeRecordsRequestSchema)` to create a new message.
|
|
4631
|
+
*/
|
|
4632
|
+
declare const StreamNodeRecordsRequestSchema: GenMessage<StreamNodeRecordsRequest>;
|
|
4633
|
+
/**
|
|
4634
|
+
* StreamNodeRecordsResponse delivers node record updates.
|
|
4635
|
+
*
|
|
4636
|
+
* @generated from message thru.services.v1.StreamNodeRecordsResponse
|
|
4637
|
+
*/
|
|
4638
|
+
type StreamNodeRecordsResponse = Message<"thru.services.v1.StreamNodeRecordsResponse"> & {
|
|
4639
|
+
/**
|
|
4640
|
+
* @generated from oneof thru.services.v1.StreamNodeRecordsResponse.message
|
|
4641
|
+
*/
|
|
4642
|
+
message: {
|
|
4643
|
+
/**
|
|
4644
|
+
* A node record (initial snapshot or update).
|
|
4645
|
+
*
|
|
4646
|
+
* @generated from field: thru.core.v1.NodeRecord record = 1;
|
|
4647
|
+
*/
|
|
4648
|
+
value: NodeRecord;
|
|
4649
|
+
case: "record";
|
|
4650
|
+
} | {
|
|
4651
|
+
/**
|
|
4652
|
+
* Signals the initial batch of records is complete.
|
|
4653
|
+
*
|
|
4654
|
+
* @generated from field: bool finished = 2;
|
|
4655
|
+
*/
|
|
4656
|
+
value: boolean;
|
|
4657
|
+
case: "finished";
|
|
4658
|
+
} | {
|
|
4659
|
+
case: undefined;
|
|
4660
|
+
value?: undefined;
|
|
4661
|
+
};
|
|
4662
|
+
};
|
|
4663
|
+
/**
|
|
4664
|
+
* Describes the message thru.services.v1.StreamNodeRecordsResponse.
|
|
4665
|
+
* Use `create(StreamNodeRecordsResponseSchema)` to create a new message.
|
|
4666
|
+
*/
|
|
4667
|
+
declare const StreamNodeRecordsResponseSchema: GenMessage<StreamNodeRecordsResponse>;
|
|
4435
4668
|
/**
|
|
4436
4669
|
* StreamingService serves server-streaming gRPC APIs for real-time data.
|
|
4437
4670
|
*
|
|
@@ -4497,6 +4730,17 @@ declare const StreamingService: GenService<{
|
|
|
4497
4730
|
input: typeof StreamSlotMetricsRequestSchema;
|
|
4498
4731
|
output: typeof StreamSlotMetricsResponseSchema;
|
|
4499
4732
|
};
|
|
4733
|
+
/**
|
|
4734
|
+
* Stream node records from the gossip network.
|
|
4735
|
+
* Returns an initial snapshot of all known records, followed by live updates.
|
|
4736
|
+
*
|
|
4737
|
+
* @generated from rpc thru.services.v1.StreamingService.StreamNodeRecords
|
|
4738
|
+
*/
|
|
4739
|
+
streamNodeRecords: {
|
|
4740
|
+
methodKind: "server_streaming";
|
|
4741
|
+
input: typeof StreamNodeRecordsRequestSchema;
|
|
4742
|
+
output: typeof StreamNodeRecordsResponseSchema;
|
|
4743
|
+
};
|
|
4500
4744
|
}>;
|
|
4501
4745
|
|
|
4502
|
-
export { type Account, type AccountData, AccountDataSchema, type AccountFlags, AccountFlagsSchema, type AccountMeta, AccountMetaSchema, type AccountPage, AccountPageSchema, AccountSchema, type AccountUpdate, AccountUpdateSchema, AccountView, AccountViewSchema, type BatchSendTransactionsRequest, BatchSendTransactionsRequestSchema, type BatchSendTransactionsResponse, BatchSendTransactionsResponseSchema, type Block, type BlockFinished, BlockFinishedSchema, type BlockFooter, BlockFooterSchema, type BlockHash, BlockHashSchema, type BlockHeader, BlockHeaderSchema, BlockSchema, BlockView, BlockViewSchema, type BytesList, BytesListSchema, type CelFilterValidation, CelFilterValidationSchema, CommandService, ConsensusStatus, ConsensusStatusSchema, type CurrentOrHistoricalVersion, CurrentOrHistoricalVersionSchema, type CurrentVersion, CurrentVersionSchema, type DataSlice, DataSliceSchema, type ErrorDetail, ErrorDetailSchema, ErrorType, ErrorTypeSchema, type Event, EventSchema, ExecutionStatus, ExecutionStatusSchema, type Filter, type FilterParamValue, FilterParamValueSchema, FilterSchema, type GenerateStateProofRequest, GenerateStateProofRequestSchema, type GenerateStateProofResponse, GenerateStateProofResponseSchema, type GetAccountRequest, GetAccountRequestSchema, type GetBlockRequest, GetBlockRequestSchema, type GetChainInfoRequest, GetChainInfoRequestSchema, type GetChainInfoResponse, GetChainInfoResponseSchema, type GetEventRequest, GetEventRequestSchema, type GetHeightRequest, GetHeightRequestSchema, type GetHeightResponse, GetHeightResponseSchema, type GetRawAccountRequest, GetRawAccountRequestSchema, type GetRawBlockRequest, GetRawBlockRequestSchema, type GetRawTransactionRequest, GetRawTransactionRequestSchema, type GetSlotMetricsRequest, GetSlotMetricsRequestSchema, type GetSlotMetricsResponse, GetSlotMetricsResponseSchema, type GetStateRootsRequest, GetStateRootsRequestSchema, type GetStateRootsResponse, GetStateRootsResponseSchema, type GetTransactionRequest, GetTransactionRequestSchema, type GetTransactionStatusRequest, GetTransactionStatusRequestSchema, type GetVersionRequest, GetVersionRequestSchema, type GetVersionResponse, GetVersionResponseSchema, type Hash, HashSchema, type ListAccountsRequest, ListAccountsRequestSchema, type ListAccountsResponse, ListAccountsResponseSchema, type ListBlocksRequest, ListBlocksRequestSchema, type ListBlocksResponse, ListBlocksResponseSchema, type ListEventsRequest, ListEventsRequestSchema, type ListEventsResponse, ListEventsResponseSchema, type ListSlotMetricsRequest, ListSlotMetricsRequestSchema, type ListSlotMetricsResponse, ListSlotMetricsResponseSchema, type ListTransactionsForAccountRequest, ListTransactionsForAccountRequestSchema, type ListTransactionsForAccountResponse, ListTransactionsForAccountResponseSchema, type ListTransactionsRequest, ListTransactionsRequestSchema, type ListTransactionsResponse, ListTransactionsResponseSchema, type PageRequest, PageRequestSchema, type PageResponse, PageResponseSchema, type Pubkey, type PubkeyList, PubkeyListSchema, PubkeySchema, QueryService, type RawAccount, RawAccountSchema, type RawBlock, RawBlockSchema, type RawTransaction, RawTransactionSchema, type SendAndTrackTxnRequest, SendAndTrackTxnRequestSchema, type SendAndTrackTxnResponse, SendAndTrackTxnResponseSchema, type SendTransactionRequest, SendTransactionRequestSchema, type SendTransactionResponse, SendTransactionResponseSchema, type Signature, SignatureSchema, type StateProof, type StateProofRequest, StateProofRequestSchema, StateProofSchema, StateProofType, StateProofTypeSchema, type StateRootEntry, StateRootEntrySchema, type StreamAccountUpdatesRequest, StreamAccountUpdatesRequestSchema, type StreamAccountUpdatesResponse, StreamAccountUpdatesResponseSchema, type StreamBlocksRequest, StreamBlocksRequestSchema, type StreamBlocksResponse, StreamBlocksResponseSchema, type StreamEventsRequest, StreamEventsRequestSchema, type StreamEventsResponse, StreamEventsResponseSchema, type StreamHeightRequest, StreamHeightRequestSchema, type StreamHeightResponse, StreamHeightResponseSchema, type StreamSlotMetricsRequest, StreamSlotMetricsRequestSchema, type StreamSlotMetricsResponse, StreamSlotMetricsResponseSchema, type StreamTransactionsRequest, StreamTransactionsRequestSchema, type StreamTransactionsResponse, StreamTransactionsResponseSchema, StreamingService, SubmissionStatus, SubmissionStatusSchema, type TaPubkey, TaPubkeySchema, type TrackTransactionRequest, TrackTransactionRequestSchema, type TrackTransactionResponse, TrackTransactionResponseSchema, type Transaction, type TransactionEvent, TransactionEventSchema, type TransactionExecutionResult, TransactionExecutionResultSchema, type TransactionHeader, TransactionHeaderSchema, TransactionSchema, type TransactionStatus, TransactionStatusSchema, TransactionView, TransactionViewSchema, TransactionVmError, TransactionVmErrorSchema, type TsSignature, TsSignatureSchema, type VersionContext, type VersionContextMetadata, VersionContextMetadataSchema, VersionContextSchema, file_thru_common_v1_consensus, file_thru_common_v1_errors, file_thru_common_v1_filters, file_thru_common_v1_pagination, file_thru_common_v1_primitives, file_thru_core_v1_account, file_thru_core_v1_block, file_thru_core_v1_state, file_thru_core_v1_transaction, file_thru_core_v1_types, file_thru_services_v1_command_service, file_thru_services_v1_query_service, file_thru_services_v1_streaming_service };
|
|
4746
|
+
export { type Account, type AccountData, AccountDataSchema, type AccountFlags, AccountFlagsSchema, type AccountMeta, AccountMetaSchema, type AccountPage, AccountPageSchema, AccountSchema, type AccountUpdate, AccountUpdateSchema, AccountView, AccountViewSchema, type BatchSendTransactionsRequest, BatchSendTransactionsRequestSchema, type BatchSendTransactionsResponse, BatchSendTransactionsResponseSchema, type Block, type BlockFinished, BlockFinishedSchema, type BlockFooter, BlockFooterSchema, type BlockHash, BlockHashSchema, type BlockHeader, BlockHeaderSchema, BlockSchema, BlockView, BlockViewSchema, type BytesList, BytesListSchema, type CelFilterValidation, CelFilterValidationSchema, CommandService, ConsensusStatus, ConsensusStatusSchema, type CurrentOrHistoricalVersion, CurrentOrHistoricalVersionSchema, type CurrentVersion, CurrentVersionSchema, type DataSlice, DataSliceSchema, type ErrorDetail, ErrorDetailSchema, ErrorType, ErrorTypeSchema, type Event, EventSchema, ExecutionStatus, ExecutionStatusSchema, type Filter, type FilterParamValue, FilterParamValueSchema, FilterSchema, type GenerateStateProofRequest, GenerateStateProofRequestSchema, type GenerateStateProofResponse, GenerateStateProofResponseSchema, type GetAccountRequest, GetAccountRequestSchema, type GetBlockRequest, GetBlockRequestSchema, type GetChainInfoRequest, GetChainInfoRequestSchema, type GetChainInfoResponse, GetChainInfoResponseSchema, type GetEventRequest, GetEventRequestSchema, type GetHeightRequest, GetHeightRequestSchema, type GetHeightResponse, GetHeightResponseSchema, type GetNodePubkeyRequest, GetNodePubkeyRequestSchema, type GetNodePubkeyResponse, GetNodePubkeyResponseSchema, type GetNodeRecordsRequest, GetNodeRecordsRequestSchema, type GetNodeRecordsResponse, GetNodeRecordsResponseSchema, type GetRawAccountRequest, GetRawAccountRequestSchema, type GetRawBlockRequest, GetRawBlockRequestSchema, type GetRawTransactionRequest, GetRawTransactionRequestSchema, type GetSlotMetricsRequest, GetSlotMetricsRequestSchema, type GetSlotMetricsResponse, GetSlotMetricsResponseSchema, type GetStateRootsRequest, GetStateRootsRequestSchema, type GetStateRootsResponse, GetStateRootsResponseSchema, type GetTransactionRequest, GetTransactionRequestSchema, type GetTransactionStatusRequest, GetTransactionStatusRequestSchema, type GetVersionRequest, GetVersionRequestSchema, type GetVersionResponse, GetVersionResponseSchema, type Hash, HashSchema, type ListAccountsRequest, ListAccountsRequestSchema, type ListAccountsResponse, ListAccountsResponseSchema, type ListBlocksRequest, ListBlocksRequestSchema, type ListBlocksResponse, ListBlocksResponseSchema, type ListEventsRequest, ListEventsRequestSchema, type ListEventsResponse, ListEventsResponseSchema, type ListSlotMetricsRequest, ListSlotMetricsRequestSchema, type ListSlotMetricsResponse, ListSlotMetricsResponseSchema, type ListTransactionsForAccountRequest, ListTransactionsForAccountRequestSchema, type ListTransactionsForAccountResponse, ListTransactionsForAccountResponseSchema, type ListTransactionsRequest, ListTransactionsRequestSchema, type ListTransactionsResponse, ListTransactionsResponseSchema, type NodeContact, NodeContactSchema, type NodeProtocol, NodeProtocolSchema, type NodeRecord, NodeRecordSchema, type PageRequest, PageRequestSchema, type PageResponse, PageResponseSchema, type Pubkey, type PubkeyList, PubkeyListSchema, PubkeySchema, QueryService, type RawAccount, RawAccountSchema, type RawBlock, RawBlockSchema, type RawTransaction, RawTransactionSchema, type SendAndTrackTxnRequest, SendAndTrackTxnRequestSchema, type SendAndTrackTxnResponse, SendAndTrackTxnResponseSchema, type SendTransactionRequest, SendTransactionRequestSchema, type SendTransactionResponse, SendTransactionResponseSchema, type Signature, SignatureSchema, type StateProof, type StateProofRequest, StateProofRequestSchema, StateProofSchema, StateProofType, StateProofTypeSchema, type StateRootEntry, StateRootEntrySchema, type StreamAccountUpdatesRequest, StreamAccountUpdatesRequestSchema, type StreamAccountUpdatesResponse, StreamAccountUpdatesResponseSchema, type StreamBlocksRequest, StreamBlocksRequestSchema, type StreamBlocksResponse, StreamBlocksResponseSchema, type StreamEventsRequest, StreamEventsRequestSchema, type StreamEventsResponse, StreamEventsResponseSchema, type StreamHeightRequest, StreamHeightRequestSchema, type StreamHeightResponse, StreamHeightResponseSchema, type StreamNodeRecordsRequest, StreamNodeRecordsRequestSchema, type StreamNodeRecordsResponse, StreamNodeRecordsResponseSchema, type StreamSlotMetricsRequest, StreamSlotMetricsRequestSchema, type StreamSlotMetricsResponse, StreamSlotMetricsResponseSchema, type StreamTransactionsRequest, StreamTransactionsRequestSchema, type StreamTransactionsResponse, StreamTransactionsResponseSchema, StreamingService, SubmissionStatus, SubmissionStatusSchema, type TaPubkey, TaPubkeySchema, type TrackTransactionRequest, TrackTransactionRequestSchema, type TrackTransactionResponse, TrackTransactionResponseSchema, type Transaction, type TransactionEvent, TransactionEventSchema, type TransactionExecutionResult, TransactionExecutionResultSchema, type TransactionHeader, TransactionHeaderSchema, TransactionSchema, type TransactionStatus, TransactionStatusSchema, TransactionView, TransactionViewSchema, TransactionVmError, TransactionVmErrorSchema, type TsSignature, TsSignatureSchema, type VersionContext, type VersionContextMetadata, VersionContextMetadataSchema, VersionContextSchema, file_thru_common_v1_consensus, file_thru_common_v1_errors, file_thru_common_v1_filters, file_thru_common_v1_pagination, file_thru_common_v1_primitives, file_thru_core_v1_account, file_thru_core_v1_block, file_thru_core_v1_node, file_thru_core_v1_state, file_thru_core_v1_transaction, file_thru_core_v1_types, file_thru_services_v1_command_service, file_thru_services_v1_query_service, file_thru_services_v1_streaming_service };
|