Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Promise failed: Error: Given input "[object Promise]" is not a number. #4328

@MAhmedSaeedi

Description

@MAhmedSaeedi

Expected behavior

Mint nft token on polygon testnet mumbai

Actual behavior

Promise failed: Error: Given input "[object Promise]" is not a number.

Steps to reproduce the behavior

image

Logs


Promise failed: Error: Given input "[object Promise]" is not a number.
at Object.numberToHex (C:\Users\Ahmed\Documents\nft_apis\node_modules\web3-utils\lib\utils.js:236:15)
at C:\Users\Ahmed\Documents\nft_apis\node_modules\web3-core-helpers\lib\formatters.js:145:30
at Array.forEach ()
at _txInputFormatter (C:\Users\Ahmed\Documents\nft_apis\node_modules\web3-core-helpers\lib\formatters.js:144:8)
at Object.inputCallFormatter (C:\Users\Ahmed\Documents\nft_apis\node_modules\web3-core-helpers\lib\formatters.js:157:15)
at signed (C:\Users\Ahmed\Documents\nft_apis\node_modules\web3-eth-accounts\lib\index.js:139:50)
at C:\Users\Ahmed\Documents\nft_apis\node_modules\web3-eth-accounts\lib\index.js:224:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.x1.0 related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions