Relay client: Identical transaction fails through the client but succeeds through the Defender Relay dashboard

The transaction kept reverting without a reason through the client (https://testnet.bscscan.com/tx/0xd117163bd32a4a40ca7ed8bc00c3f945d7dd7dfb119233650ffe0160ac8bd14a).
So I thought about trying the same exact transaction without using the client and it worked https://testnet.bscscan.com/tx/0xc021efa412ea5e7c5542eb566ed824e266ee6cc9b303f6559b22c9447ce816b5

1 Like

Hi @ndavd

I've taken a look at both transactions and as you can see, the one that worked has a higher gasLimit, which may have been estimated through the UI. In the case of the one using the client, gasLimit is the only required parameter of the API, so you have to provide a higher estimate to do it via API using the client.

Hope this helps!

2 Likes

Oh how could I have missed that haha thanks!!

1 Like