Skip to main content

verify

Verifies a creator. The list of creators of an asset is specified by the Creators extension.

Accounts​

Below is the list of accounts expected by the verify instruction.

NameWritableSignerOptionalDescription
asset✅Asset account
creator✅Creator account to verify

Arguments​

None.

Examples​

import { verify } from '@nifty-oss/asset';

// Accounts:
// - asset: PublicKey
// - creator: KeypairSigner
await verify(umi, {
asset,
creator,
}).sendAndConfirm(umi);