GRPC Endpoint - zoobc/zoobc-core GitHub Wiki
GRPC endpoint
There ar many GRPC endpoints owned by zoobc, Allowing app clients like wallet and explore consume for a list of record or single record and also some of grpc service have an authentication that only the owner can access the critical/secured data.
- Account Balance:
- GetAccountBalance:
Get singleaccount_balancerecord, and has request fields:
AccountAddress bytes - GetAccountBalance:
- Account Dataset:
- GetAccountDataset:
Get singleaccount_datasetrecord, and has request fields:
Property string RecipientAccountAddress bytes- GetAccountDatasets:
Get list ofaccount_datasetrecords, and has request fields:
Property string Value string RecipientAccountAddress bytes SetterAccountAddress bytes Height uint32 Pagination *Pagination - GetAccountDataset:
- Account Ledger:
- GetAccountLedgers:
Get list ofaccount_legderrecords and it might be the latest version, and has request fields:
AccountAddress bytes EventType EventType TransactionID int64 TimestampStart uint64 TimestampEnd uint32 Pagination *Pagination - GetAccountLedgers:
- Block:
- GetBlockByID:
Get singleblockrecord specific by ID and also contain things that refer to it, and has request fields:
ChainType ChainType ID int64- GetBlockByHeight:
Get singleblockrecord specific by height and also contain things that refer to it, and has request fields:
ChainType ChainType Height uint32- GetBlocks:
Get list ofblockrecords, and has request fields:
ChainType ChainType Count uint32 Height uint32 - GetBlockByID:
- Escrow Transaction:
- GetEscrowTransaction:
Get singleescrow_transactionrecord and has request fields:
ID int64- GetEscrowTransactions:
Get list ofescrow_transactionrecords, and has request fields:
ApproverAddress bytes ID int64 Statuses []*EscrowStatus BlockHeightStart uint32 BlockheightEnd uint32 Pagination *Pagination - GetEscrowTransaction:
- Multisig Transaction:
- GetPendingTransactions:
Get list ofpending_transactionrecords and has request fields:
SenderAddress bytes Status PendingTransactionStatus Pagination Pagination- GetPendingTransactionDetailByTransactionHash:
Get singlepending_transactionrecord and also contain things that refer to it like MultisigInfo and PendingSignatures, and has request fields:
TransactionHashHex string- GetMultisignatureInfo:
Get list ofmultisignature_inforecords and also has request fields:
MultisigAddress bytes Pagination *Pagination - GetPendingTransactions:
- Mempool Transaction:
- GetMempoolTransaction:
Get singlemempoolrecord and has request fields:
ChainType ChainType Params { ID int64 }- GetMempoolTransactions:
Get list ofmempoolrecords, and has request fields:
ChainType ChainType Params { TimestampStart int64 TimestampEnd int64 Address bytes Pagination *Pagination } - GetMempoolTransaction: