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

    Interface ApiGetAccessTokenBody

    The request body for obtaining or refreshing an access token. The user signs a "GetAccessToken" method message plus any relevant fields.

    interface ApiGetAccessTokenBody {
        serializedJson: string;
        signature: string;
        walletAddress: string;
    }
    Index
    serializedJson: string

    The actual JSON string that was signed, e.g.:

    {
    "date": 1234567890,
    "nonce": 512,
    "method": "GetAccessToken",
    "value": {}
    }
    signature: string

    The signature over the JSON-serialized request data (nonce, date, etc.).

    walletAddress: string

    The user's Sui address, zero-padded if needed.