Type Alias TransferBackendOptions

TransferBackendOptions: {
    amount: number | string;
    asset: CryptoCurrencyCode;
    spend_id: string;
    user_id: number;
    comment?: string;
    disable_send_notification?: boolean;
}

Backend options object type for Client.transfer method

Type declaration

  • amount: number | string

    Transfer amount

  • asset: CryptoCurrencyCode

    Transfer asset

  • spend_id: string

    Random UTF-8 string unique per transfer for idempotent requests. The same spend_id can be accepted only once from your app. Up to 64 symbols.

  • user_id: number

    User ID in Telegram

  • Optionalcomment?: string

    Comment for the transfer. Users will see this comment in the notification about the transfer

  • Optionaldisable_send_notification?: boolean

    Pass true to not send to the user the notification about the transfer