Version: 0.14.1
Transaction
A handy interface to know the status of a blockchain transaction
Hierarchy
- Transaction
Index
Constructors
Methods
Constructors
constructor
+ new Transaction(wallet
: object, transactionId
: string): Transaction
Defined in src/transaction.ts:21
Parameters:
▪ wallet: object
Name | Type |
---|---|
ethereum? | EthereumWallet |
▪ transactionId: string
Returns: Transaction
Methods
status
▸ status(): Promise‹SwapTransactionStatus›
Defined in src/transaction.ts:30
Returns: Promise‹SwapTransactionStatus›
The transaction status by asking the blockchain.