https://polygonscan.com/tx/0x0a37f5af0aa5b15431e339a7dc4ce3bdc77f229e8bd69025a4740812e0c55e6f
the transaction name that appears in the metamaks is collect_from_tiles.
looking for this function in the contract. I noticed that she is in another contract. https://polygonscan.com/address/0x068adc06faff086ee9ef826c0b83e7710e223c3d#writeContract
how to find out which values ββto pass? Is there any tool to catch traffic when confirming in the metamask or something?
every transaction I go through. hangs until it fails.
def get_token_abi(token):
url = f'https://api.polygonscan.com/api?module=contract&action=getabi&address={token}'
response = requests.get(url).json()
return json.loads(response['result'])
tiles = [(-1, 1, 0), (-1, 0, 1), (0, -1, 1), (1, 0, -1), (0, 1, -1)]
v = ?
r = ?
s = ?
tx_collector = contract_collect.functions.collectFromTiles(tiles, v, r, s).build_transaction({
'type': '0x2',
'gas': 361075,
'maxFeePerGas': 35000000000,
'maxPriorityFeePerGas': 35000000000,
'chainId': 137,
'nonce': nonce,
})
how to find out the parameters that are passed in the transaction time?