Closed BenElferink closed 2 weeks ago
looks like this wallet is not funded. to mint tokens, need lovelace to pay for fees. so lets check if the wallet has utxos.
const utxos = await blockchainProvider.fetchAddressUTxOs(_address);
console.log(utxos);
If you say that, there are lovelace in this wallet. For MeshWallet
, we want to use the first address. This means you wallet is multi-address. i reckon you send lovelace (internal transfer) to the first address (_address
).
looks like this wallet is not funded. to mint tokens, need lovelace to pay for fees. so lets check if the wallet has utxos.
const utxos = await blockchainProvider.fetchAddressUTxOs(_address); console.log(utxos);
If you say that, there are lovelace in this wallet. For
MeshWallet
, we want to use the first address. This means you wallet is multi-address. i reckon you send lovelace (internal transfer) to the first address (_address
).
Aha! I see.
It seems the issue was in older versions the AppWallet
was using the enterpriseAddressBech32
address to build TXs. And the new MeshWallet
was using the baseAddressBech32
address to build TXs.
Transferring funds from enterpriseAddressBech32
to baseAddressBech32
did work, and I can build TXs now.
Thank you.
My backend wallet is initiated like this:
And I'm trying to mint an NFT like this:
However, building my TX fails with the following error:
When using
verbose=true
I can see that thetxBodyJson
has outputs, but no inputs. I then tried the wallet functions to get it's content, they all returned empty:I know for sure my wallet has lovelaces in it, at least 20+ ADA. Please help me resolve this issue, it happens even for simple TXs with the
MeshWallet
, likesendAssets
orsendLovelace
.P.S. SDK versions: