aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface ApiReferralsSetReferrerBody

    Request body for linking a wallet to an existing referral code.

    interface ApiReferralsSetReferrerBody {
        bytes: string;
        refCode: string;
        signature: string;
        walletAddress: string;
    }
    Index
    bytes: string

    Serialized bytes of the message signed by the wallet for authentication.

    refCode: string

    Referral code to link. The current signed terms message does not carry the code, so the code travels in the body.

    signature: string

    Signature corresponding to bytes.

    walletAddress: string

    Wallet address of the user being linked.