Transaction Status
To keep track of transactions and their status (confirmations or in mem-pool).
Plugin Input
interface {
/**
* Enum of blockchain identifiers
*/
blockchain: Blockchains;
/**
* Enum of asset or token types
*/
assetType: AssetTypes;
/**
* Address or public key
*/
addrXpub: string;
/**
* Unique transaction identifier
*/
transactionId: string;
}
Publin Output
interface {
/**
* Number of confirmations, returns 0 for unconfirmed transactions
*/
confirmations: number;
/**
* In case of unconfirmed transactions this indicates if the transaction
* resides in the mem-pool or was rejected
*/
isAccepted: boolean;
}