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 {
    requestData: Record<string, any>;
    requestHost: string;
    requestMethod: string;
    requestPath: string;
    walletSecret: string;
}

Properties

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