CDP SDK TypeScript - v1.25.0
    Preparing search index...

    Interface WalletJwtOptions

    WalletJwtOptions contains configuration for Wallet Auth JWT generation.

    This interface holds all necessary parameters for generating a Wallet Auth JWT for authenticating with endpoints that require wallet authentication.

    interface WalletJwtOptions {
        walletSecret: string;
        requestMethod: string;
        requestHost: string;
        requestPath: string;
        requestData: Record<string, any>;
    }
    Index

    Properties

    walletSecret: string
    • The Wallet Secret
    requestMethod: string
    • The HTTP method for the request (e.g. 'GET', 'POST')
    requestHost: string
    requestPath: string
    • The path for the request (e.g. '/platform/v1/wallets/{wallet_id}/addresses')
    requestData: Record<string, any>
    • The request data for the request (e.g. { "wallet_id": "1234567890" })