Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Error with miting #36

@mdergueche

Description

@mdergueche

Hi community,

So I'm trying to mint an NFT on Solana using your library but I'm getting an error at metada function. Here the stuck

File "/python-api/api/metaplex_api.py", line 77, in mint
tx, signers = mint(api_endpoint, self.keypair, contract_key, dest_key, link, supply=supply)
File "/python-api/metaplex/transactions.py", line 186, in mint
metadata = get_metadata(client, mint_account)
File "/python-api/metaplex/metadata.py", line 182, in get_metadata
data = base64.b64decode(client.get_account_info(metadata_account)['result']['value']['data'][0])
TypeError: 'NoneType' object is not subscriptable

also how I know the fee on the network to mint the NFT? I check the library, there is no such function as such. It would be great to add it before deciding to mint the contract as such.

Your help will be really appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions