Crypto Bot API
    Preparing search index...

    Type Alias TransferOptions

    Options object type for Client.transfer method

    type TransferOptions = {
        amount: number | string;
        asset: CryptoCurrencyCode;
        spendId: string;
        userId: number;
        comment?: string;
        disableSendNotification?: boolean;
    }
    Index

    Properties

    amount: number | string

    Transfer amount

    Transfer asset

    spendId: 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.

    userId: number

    User ID in Telegram

    comment?: string

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

    disableSendNotification?: boolean

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