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_balance
record, and has request fields:
AccountAddress bytes
- GetAccountBalance:
- Account Dataset:
- GetAccountDataset:
Get singleaccount_dataset
record, and has request fields:
Property string RecipientAccountAddress bytes
- GetAccountDatasets:
Get list ofaccount_dataset
records, and has request fields:
Property string Value string RecipientAccountAddress bytes SetterAccountAddress bytes Height uint32 Pagination *Pagination
- GetAccountDataset:
- Account Ledger:
- GetAccountLedgers:
Get list ofaccount_legder
records 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 singleblock
record specific by ID and also contain things that refer to it, and has request fields:
ChainType ChainType ID int64
- GetBlockByHeight:
Get singleblock
record specific by height and also contain things that refer to it, and has request fields:
ChainType ChainType Height uint32
- GetBlocks:
Get list ofblock
records, and has request fields:
ChainType ChainType Count uint32 Height uint32
- GetBlockByID:
- Escrow Transaction:
- GetEscrowTransaction:
Get singleescrow_transaction
record and has request fields:
ID int64
- GetEscrowTransactions:
Get list ofescrow_transaction
records, and has request fields:
ApproverAddress bytes ID int64 Statuses []*EscrowStatus BlockHeightStart uint32 BlockheightEnd uint32 Pagination *Pagination
- GetEscrowTransaction:
- Multisig Transaction:
- GetPendingTransactions:
Get list ofpending_transaction
records and has request fields:
SenderAddress bytes Status PendingTransactionStatus Pagination Pagination
- GetPendingTransactionDetailByTransactionHash:
Get singlepending_transaction
record and also contain things that refer to it like MultisigInfo and PendingSignatures, and has request fields:
TransactionHashHex string
- GetMultisignatureInfo:
Get list ofmultisignature_info
records and also has request fields:
MultisigAddress bytes Pagination *Pagination
- GetPendingTransactions:
- Mempool Transaction:
- GetMempoolTransaction:
Get singlemempool
record and has request fields:
ChainType ChainType Params { ID int64 }
- GetMempoolTransactions:
Get list ofmempool
records, and has request fields:
ChainType ChainType Params { TimestampStart int64 TimestampEnd int64 Address bytes Pagination *Pagination }
- GetMempoolTransaction: