Get the current account information (e.g. balance)
If an account is not found on the blockchain, this returns undefined.
Get a nonce for the next transaction signature.
Implementation defines a default value if blockchain does not provide a nonce.
Get multiple nonces at once to sign multiple transactions
This avoids querying the blockchain for every nonce and removes the need to wait for blocks before getting updated nonces.
returns all matching swaps in their current state
Subscribes to all newly added transactions that match the query
Returns a stream for all historical transactions that match the query, along with all new transactions arriving from listenTx
Emits currentState (getSwaps) as a stream, then sends updates for any matching swap.
This includes an open swap beind claimed/expired as well as a new matching swap being offered
Generated using TypeDoc
An optional extension to the base BlockchainConnection that allows querying and watching atomic swaps