salt-sdk
    Preparing search index...

    Interface BaseTransferParams

    The properties shared by all transfers on Salt.

    interface BaseTransferParams {
        accountId: string;
        chainId: number;
        decimals: number;
        sendingProvider?: Provider;
        signer: Signer;
        to: string;
        value: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accountId: string

    Salt account ID for the transaction

    '1234567890'
    
    chainId: number

    Chain ID of the network (integer)

    11155111
    
    decimals: number

    Decimals of the token being sent.

    18
    
    sendingProvider?: Provider

    Sending provider of the transaction. If not provided, it will attempt to select a provider depending on the chainId

    new providers.JsonRpcProvider('https://rpc.ankr.com/eth')
    
    signer: Signer

    Ethers signer for the transaction.

    '0x1234567890123456789012345678901234567890'
    
    to: string

    Recipient address for the transaction

    '0x1234567890123456789012345678901234567890'
    
    value: string

    Amount of token to send. This is a string representation of the amount of the token being sent.

    '1'