Type alias ApproveTokenDelegateAuthorityInput

ApproveTokenDelegateAuthorityInput: {
    mintAddress: PublicKey;
    delegateAuthority: PublicKey;
    amount?: SplTokenAmount;
    owner?: Signer | PublicKey;
    tokenAddress?: PublicKey;
    multiSigners?: KeypairSigner[];
}

Type declaration

  • mintAddress: PublicKey

    The address of the mint account.

  • delegateAuthority: PublicKey

    The address of the new delegate authority.

  • Optional amount?: SplTokenAmount

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

    Default Value

    token(1)

  • Optional owner?: Signer | PublicKey

    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 tokenAddress?: PublicKey

    The address of the token account.

    Default Value

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

  • Optional multiSigners?: KeypairSigner[]

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

    Default Value

    []

Generated using TypeDoc