Skip to main content

Interface: SendParams

Address with a base token amount

Table of contents​

Properties​

Properties​

address​

• address: string

The Bech32 address to send the amount to.


amount​

• amount: string | bigint

The amount to send.


returnAddress​

• Optional returnAddress: string

Bech32 encoded address, to which the storage deposit will be returned if one is necessary given the provided amount. If a storage deposit is needed and a return address is not provided, it will default to the first address of the account.


expiration​

• Optional expiration: number

Expiration in seconds, after which the output will be available for the sender again, if not spent by the receiver already. The expiration will only be used if one is necessary given the provided amount. If an expiration is needed but not provided, it will default to one day.