Type alias ParsedTokenMetadataAuthorization

ParsedTokenMetadataAuthorization: {
    accounts: {
        authority: PublicKey;
        token?: PublicKey;
        approver?: PublicKey;
        delegateRecord?: PublicKey;
        authorizationRules?: PublicKey;
    };
    signers: Signer[];
    data: {
        authorityType: AuthorityType;
        authorizationData: Option<AuthorizationData>;
    };
}

Type declaration

  • accounts: {
        authority: PublicKey;
        token?: PublicKey;
        approver?: PublicKey;
        delegateRecord?: PublicKey;
        authorizationRules?: PublicKey;
    }
    • authority: PublicKey

      The authority that will sign the transaction.

    • Optional token?: PublicKey

      If "holder" or "token delegate" authority, the address of the token account.

    • Optional approver?: PublicKey

      If "delegate" authority, the address of the update authority or the token owner depending on the type.

    • Optional delegateRecord?: PublicKey

      If "delegate" authority, the address of the token record or the metadata delegate record PDA depending on the type.

    • Optional authorizationRules?: PublicKey

      If any auth rules are provided, the address of the auth rule account.

  • signers: Signer[]
  • data: {
        authorityType: AuthorityType;
        authorizationData: Option<AuthorizationData>;
    }
    • authorityType: AuthorityType
    • authorizationData: Option<AuthorizationData>

Generated using TypeDoc