We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having this error Undefined array key "coders" when methods has tuple[] or tuple as input/output
Undefined array key "coders"
/web3p/web3.php/src/Contracts/Types/Tuple.php:116
input as tuple[]
{ "inputs": [ { "internalType": "string", "name": "documentId", "type": "string" }, { "components": [ { "internalType": "string", "name": "documentItemId", "type": "string" }, { "internalType": "string", "name": "id", "type": "string" }, { "internalType": "string", "name": "locationId", "type": "string" }, { "internalType": "string", "name": "wasteId", "type": "string" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct WasteTraceability.CollectionRequestItem[]", "name": "collectionRequestItems", "type": "tuple[]" } ], "name": "createCollectionRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }
tuple as output
{ "inputs": [ { "internalType": "string", "name": "wasteId", "type": "string" } ], "name": "getWaste", "outputs": [ { "components": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint256", "name": "decimals", "type": "uint256" } ], "internalType": "struct WasteTraceability.Waste", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }
The text was updated successfully, but these errors were encountered:
i am encountering the same issue now
Sorry, something went wrong.
sc0Vu
No branches or pull requests
I'm having this error
Undefined array key "coders"
when methods has tuple[] or tuple as input/output/web3p/web3.php/src/Contracts/Types/Tuple.php:116
input as tuple[]
tuple as output
The text was updated successfully, but these errors were encountered: