ernestognw / flashbots-nft-minter

A general NFT minter using Flashbots
27 stars 10 forks source link

error execution reverted #2

Open ngdekhai opened 2 years ago

ngdekhai commented 2 years ago

chain ID = 1 flashbots_relay_endpoint = https://relay.flashbots.net/ nft value = 0.026

transaction: { chainId: 1, type: 2, value: [BigNumber], data: '0xe9ae9e510000000000000000000000000000000000000000000000000000000000000001', gasLimit: 1503716, maxFeePerGas: [BigNumber], maxPriorityFeePerGas: [BigNumber], to: '0x22d202872950782012baC53346EE3DaE3D78E0CB' }

error

Is there anything wrong with my variable?

ernestognw commented 2 years ago

Hey!

I'm trying to find the function you're trying to call.

To which function does e9ae9e51 methodID corresponds?

I'm calculating the functionSignatures for the ABI at https://etherscan.io/address/0x22d202872950782012baC53346EE3DaE3D78E0CB#code and this is what I got:

Captura de Pantalla 2021-10-01 a la(s) 11 28 10

I don't think that's what is causing the problem but I'm not sure if the Flashbots relay has some sort of validation of the methodID used in data. If that's the case, that's why is not working.

Can you provide the same version of the contract you're using on Goerli?