GrpcClient class

Constructors

GrpcClient({String host = "", int port = 443, bool useSsl = true, List<int>? certs, bool testnet = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkSlpTransaction(List<int> txn, {List<SlpRequiredBurn>? requiredSlpBurns}) Future<CheckSlpTransactionResponse>
close() → dynamic
getAddressTransactions(String address, {int nbSkip = -1, int nbFetch = -1, int height = -1, List<int>? hash, bool reversedHashOrder = false}) Future<GetAddressTransactionsResponse>
getAddressUtxos(String address, {bool includeMempool = false, bool includeTokenMetadata = true}) Future<GetAddressUnspentOutputsResponse>
getBlock({List<int>? hash, int height = -1, bool reversedHashOrder = false}) Future<GetBlockResponse>
getBlockchainInfo() Future<GetBlockchainInfoResponse>
getBlockHeaders(List<int> stopHash) Future<GetHeadersResponse>
getBlockInfo({List<int>? hash, int height = -1, bool reversedHashOrder = false}) Future<GetBlockInfoResponse>
getMempoolInfo() Future<GetMempoolInfoResponse>
getParsedSlpScript(List<int> script) Future<GetSlpParsedScriptResponse>
getRawBlock({List<int>? hash, int height = -1, bool reversedHashOrder = false}) Future<GetRawBlockResponse>
getRawMempool({bool getFullTransaction = false}) Future<GetMempoolResponse>
getRawTransaction(List<int> hash, {bool reversedHashOrder = false}) Future<GetRawTransactionResponse>
getTokenMetadata(List<List<int>> tokenIds) Future<GetSlpTokenMetadataResponse>
getTransaction(List<int> hash, {bool reversedHashOrder = false, bool includeTokenMetadata = true}) Future<GetTransactionResponse>
getTrustedSlpValidation(List<GetSlpTrustedValidationRequest_Query> txos, {bool? reversedHashOrder}) Future<GetSlpTrustedValidationResponse>
getUnspentOutput(List<int> hash, int vout, {bool reversedHashOrder = false, bool includeMempool = false, bool includeTokenMetadata = true}) Future<GetUnspentOutputResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submitTansaction(List<int> txn, {List<SlpRequiredBurn>? requiredSlpBurns, bool? skipSlpValidityChecks}) Future<SubmitTransactionResponse>
subscribeBlocks({bool includeSerializedBlock = false, bool includeTxnHashes = false, bool includeTxnData = false}) → ResponseStream<BlockNotification>
subscribeTransactions({bool includeMempoolAcceptance = false, bool includeBlockAcceptance = false, bool includeSerializedTxn = false, bool includeOnlySlp = false, List<List<int>>? slpTokenIds, List<String>? addresses, List<Transaction_Input_Outpoint>? outpoints}) → ResponseStream<TransactionNotification>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited