Issue with Executing Smart Contract on BSC via Trust Wallet and WalletConnect

Issue with Executing Smart Contract on BSC via Trust Wallet and WalletConnect

Description:

Hello Trust Wallet community,

I am experiencing an issue while trying to execute a smart contract on Binance Smart Chain (BSC) using Trust Wallet and WalletConnect. The contract is related to a token swap where I am using the handleOps function to finalize the transaction.

Here is what I have tried:

  1. I connected my Trust Wallet using WalletConnect on BscScan.
  2. I filled in the necessary parameters for the handleOps function, including the ops tuple and the beneficiary address.
  3. However, I keep encountering the following errors:
  • "Unexpected EOF" when submitting the transaction.
  • "types/value length mismatch (argument='tuple', value=[...])" after trying to correct the input format.

I have verified the data I entered and attempted multiple solutions, but the error persists.

[
[
“0xd281E4CE1f30006394044dd24073A496CF1F449B”,
“0”,
“0x729c310186a57833f622630a16d13f710b83272a296601cd…”,
“0x47e1da2a000000000000000000000000000000000000000000000000…”,
“47336”,
“898716”,
“177319”,
“3000000000”,
“3000000000”,
“0x”,
“0xb8c2e1d52be7de31e9f86cadec91ce82ee4f935ee90d…”
]
] * Beneficiary address: 0xd281E4CE1f30006394044dd24073A496CF1F449B

Can anyone help clarify what might be causing these issues or suggest a proper format for the ops tuple or any missing data points I need to provide? Additionally, if there are any resources to better understand how to format the data for the handleOps function, that would be much appreciated.

Thank you in advance for any guidance.

Best regards, svd8912

7 Likes

@SvD8912 I’d suggest you submit a ticket to the customer support team:

2 Likes