Type alias ApproveTokenDelegateAuthorityBuilderParams

ApproveTokenDelegateAuthorityBuilderParams: {
    mintAddress: PublicKey;
    delegateAuthority: PublicKey;
    owner?: undefined | PublicKey | Signer;
    amount?: undefined | SplTokenAmount;
    tokenAddress?: undefined | PublicKey;
    multiSigners?: undefined | KeypairSigner[];
    instructionKey?: undefined | string;
}

Type declaration

  • mintAddress: PublicKey

    The address of the mint account.

  • delegateAuthority: PublicKey

    The address of the new delegate authority.

  • Optional owner?: undefined | PublicKey | Signer

    The owner of the token account as a Signer.

    This may be provided as a PublicKey if and only if the multiSigners parameter is provided.

    Default Value

    metaplex.identity()

  • Optional amount?: undefined | SplTokenAmount

    The maximum amount of tokens that can be manipulated by the new delegate authority.

    Default Value

    token(1)

  • Optional tokenAddress?: undefined | PublicKey

    The address of the token account.

    Default Value

    Defaults to using the associated token account from the mintAddress and owner parameters.

  • Optional multiSigners?: undefined | KeypairSigner[]

    The signing accounts to use if the token owner is a multisig.

    Default Value

    []

  • Optional instructionKey?: undefined | string

    A key to distinguish the instruction that approves the delegate authority.

Generated using TypeDoc