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

    Interface ApiPerpetualsCreateVaultCapBody

    Request body for creating a vault capability (vault cap) for a given wallet.

    interface ApiPerpetualsCreateVaultCapBody {
        lpCoinMetadata: {
            description: string;
            iconUrl?: string;
            name: string;
            symbol: string;
        };
        sponsor?: PerpetualsSponsorConfig;
        walletAddress: string;
    }
    Index
    lpCoinMetadata: {
        description: string;
        iconUrl?: string;
        name: string;
        symbol: string;
    }

    Metadata used to create the vault's LP coin type.

    Type Declaration

    • description: string

      Description of the token

    • OptionaliconUrl?: string

      URL for the token logo

    • name: string

      Name for the token

    • symbol: string

      Symbol for the token

    Optional cached gas-pool sponsorship data.

    walletAddress: string

    Wallet that will own the created vault capability.