Protected
chainReadonly
configProtected
feeProtected
networkProtected
phraseProtected
rootRetrieves the balance of a given address.
The address to retrieve the balance for.
Optional
assets: Asset[]Assets to retrieve the balance for (optional).
An array containing the balance of the address.
Thrown when the provided asset is invalid.
Protected
getProtected
getRetrieves the transaction details of a given transaction ID.
The transaction ID.
Optional
assetAddress: stringThe asset address (optional).
The transaction details of the given transaction ID.
Thrown if the provided transaction ID is invalid.
Retrieves the Ethereum wallet interface.
Optional
walletIndex: numberThe index of the HD wallet (optional).
The current Ethereum wallet interface.
Error - Thrown if the HDNode is not defined, indicating that a phrase is needed to create a wallet and derive an address. Note: A phrase is needed to create a wallet and to derive an address from it.
Prepares a transaction for transfer.
The transfer options.
The raw unsigned transaction.
Error Thrown if the provided asset chain does not match the client's chain, or if any of the addresses are invalid.
Protected
roundRetrieves the balance of an address by round-robin querying multiple data providers.
The address to query the balance for.
Optional
assets: Asset[]Optional list of assets to query the balance for.
The balance information for the address.
Error Thrown if no provider is able to retrieve the balance.
Protected
roundProtected
roundRetrieves transaction data by round-robin querying multiple data providers.
The transaction ID.
Optional
assetAddress: stringOptional asset address.
The transaction data.
Error Thrown if no provider is able to retrieve the transaction data.
Protected
roundRetrieves transaction history by round-robin querying multiple data providers.
The transaction history parameters.
The transaction history.
Error Thrown if no provider is able to retrieve the transaction history.
Protected
thornodeAPIGetTransfers ETH or ERC20 token
Note: A given feeOption
wins over gasPrice
and gasLimit
The transaction hash.
Error Thrown if address of given Asset
could not be parsed
Generated using TypeDoc
Class definition for the Dogecoin EVM client. Extends the
XchainEvmClient
class.