You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'borshSerialize')
at serializeStruct (index.js:317:1)
at serializeField (index.js:306:1)
at index.js:327:1
at Array.map (<anonymous>)
at serializeStruct (index.js:326:1)
at serialize (index.js:349:1)
at wallet-account.js:168:1
at Array.map (<anonymous>)
at WalletConnection.<anonymous> (wallet-account.js:168:1)
at Generator.next (<anonymous>)
at wallet-account.js:8:1
at new Promise (<anonymous>)
at push../node_modules/near-api-js/lib/wallet-account.js.__awaiter (wallet-account.js:4:1)
at WalletConnection.requestSignTransactions (wallet-account.js:165:1
)
Once user is redirected to out platform after clicking on "connect", we need to immediately connect the wallet. I think the near-api-js needs the query params returned by the wallet to make a connection.
How do I call the
requestSignTransactions
?I am trying to call the
nft_mint
action on a contract. Here is the code I am trying but it is not working.Any help would be appreciated
The text was updated successfully, but these errors were encountered: