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.
Name | Writable | Signer | Optional | Description |
---|---|---|---|---|
asset | ✅ | Asset account | ||
creator | ✅ | Creator account to verify |
Arguments
None.
Examples
- JavaScript
import { verify } from '@nifty-oss/asset';
// Accounts:
// - asset: PublicKey
// - creator: KeypairSigner
await verify(umi, {
asset,
creator,
}).sendAndConfirm(umi);