Type alias TxRequest

TxRequest: {
    amount?: number;
    chainId: string;
    feeDenomination?: string;
    feeQuantity?: string;
    isMainnet: boolean;
    metadata?: object;
    txHash: string;
    type: string;
    walletAddress: string;
}

Type declaration

  • Optional Readonly amount?: number
  • Readonly chainId: string
  • Optional Readonly feeDenomination?: string
  • Optional Readonly feeQuantity?: string
  • Readonly isMainnet: boolean

    Whether the tx occurred on the mainnet or the testnet.

  • Optional Readonly metadata?: object

    A free-form object of any additional data that might be useful for analytics.

    Example

    {
    fromToken: 'ujuno',
    toToken: 'juno168ctmpyppk90d34p3jjy658zf5a5l3w8wk35wht6ccqj4mr0yv8s4j5awr',
    fromQuantity: '10',
    toQuantity: '500',
    }
  • Readonly txHash: string
  • Readonly type: string
  • Readonly walletAddress: string

    Address of the wallet performing the tx.