Type alias LockNftBuilderParams

LockNftBuilderParams: {
    nftOrSft: Pick<Sft, "address" | "tokenStandard">;
    authority: TokenMetadataAuthorityTokenDelegate;
    authorizationDetails?: undefined | TokenMetadataAuthorizationDetails;
    instructionKey?: undefined | string;
}

Type declaration

  • nftOrSft: Pick<Sft, "address" | "tokenStandard">

    The NFT or SFT to lock. We only need its address and token standard.

    Note that locking only works for programmable assets.

  • authority: TokenMetadataAuthorityTokenDelegate

    An authority allowed to lock the asset.

    This must be a token delegate.

    See

    TokenMetadataAuthority

    Default Value

    metaplex.identity()

  • Optional authorizationDetails?: undefined | TokenMetadataAuthorizationDetails

    The authorization rules and data to use for the operation.

    See

    TokenMetadataAuthorizationDetails

    Default Value

    Defaults to not using auth rules.

  • Optional instructionKey?: undefined | string

    A key to distinguish the instruction that uses the NFT.

Generated using TypeDoc