UNPKG

@tatumio/tatum-v1

Version:

Tatum API client allows browsers and Node.js clients to interact with Tatum API.

40 lines (39 loc) 1.1 kB
export interface Address { /** * Blockchain address. * @type {string} * @memberof Address */ address: string; /** * Currency of generated address. BTC, LTC, BCH, ETH, XRP, ERC20. * @type {string} * @memberof Address */ currency: string; /** * Derivation key index for given address. * @type {number} * @memberof Address */ derivationKey?: number; /** * Extended public key to derive address from. In case of XRP, this is account address, * since address is defined as DestinationTag, which is address field. In case of XLM, this is account address, since address is defined as message, which is address field. * @type {string} * @memberof Address */ xpub?: string; /** * In case of XRP, destinationTag is the distinguisher of the account. * @type {number} * @memberof Address */ destinatinTag?: number; /** * In case of XLM, message is the distinguisher of the account. * @type {string} * @memberof Address */ message?: string; }