Questions tagged [method]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

How is this legal? _merkleProof.verifyCalldata(root, leaf)

Code: https://www.contractreader.io/contract/mainnet/0x0C7D4bdA40CF78F9F1BAf6e3D5774f1E22c9CC4B My question is about this verifyCalldata() call: function verifyAddress( uint256 _projectId, ...
Donn Lee's user avatar
  • 101
0 votes
1 answer
40 views

What is the correlation between "Hash" (Method ID) & "Name"

I was checking Etherscan and come across a deployed contract (Create contract), but the method id was 0x60a06040. I then used https://openchain.xyz/signatures?query=0x60a06040 and found out that the ...
anon's user avatar
  • 25
0 votes
1 answer
160 views

About MethodID:0x095ea7b3

Everyone directs that this ID is used for approve(address,uint256), can I create my own MethodID, but the function is the same as 0x095ea7b3.
Quick Lin's user avatar
0 votes
1 answer
41 views

Calling contract method(0x..) using web3.py

How to call the method like 0x0eb0d6a5 in web3.py? Seems like it is function name but is it different when calling function name?
Shift_that's user avatar
0 votes
1 answer
47 views

Why Remix keeps giving "The requested account and/or method has not been authorized by the user" error?

I keep getting this error but, after a while, the transaction works. Is there any problem with Remix?
Falcon Stakepool's user avatar
0 votes
1 answer
34 views

0 value method transaction

Hey I have a question hope anyone can help me understand. I withdrew some USDC from Binance to my hardware wallet and noticed an automatic 0 value usdc method transaction about 5 min later. I withdrew ...
Vonwelzen's user avatar
1 vote
2 answers
212 views

How to find out the owner of the NFT, knowing the address of the NFT itself

My question is not quite simple... Is it possible to get the owner's wallet address by knowing the NFT address? Let's imagine that we already know the address of a certain NFT that some person bought ...
Andrew Novikoff's user avatar
0 votes
2 answers
312 views

Get Method ID from all transactions in a block

I ask for your help! How do I get the Method ID for each transaction in a block. I can get the following information block = w3.eth.get_block('latest', True) print(list(block)) ['difficulty', '...
Pypy's user avatar
  • 1
2 votes
2 answers
283 views

How to read multiple destination transactions?

I have a system that read normal token transactions with the 0xa9059cbb method, but now I'm receiving transactions like this 0x5ed78dc97ed6c4a3797be99f04977bbcfd45ca5c0ae97ade16dce69e7ecc558a with ...
Marco Vinicius Castellari's user avatar
1 vote
1 answer
297 views

Different between send() and sendTransaction()

I'm wondering the difference between send() and sendTransaction() in web3. Take the following test code as example: Contract: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract ...
daisy's user avatar
  • 284
5 votes
4 answers
5k views

Decode multicall bytes[] into readable format?

I created a Uniswap V3 pool using UI. In Transaction multicall(bytes[] data) function was called with this parameter: [0]: 0000000000000000000000000000000000000000000000000000000000000020 [1]: ...
MantasFam's user avatar
  • 327
1 vote
2 answers
1k views

Get contract method from transaction logs

On etherscan.io, when looking at the Events tab, we can see the logs, and also the method name. Using web3js, I can get the logs without problem (with getPastEvents). I cannot figure out how to get ...
Sequoya's user avatar
  • 63
1 vote
0 answers
101 views

Acquiring Method data from smart contract (using Etherscan API)

I managed to make API calls for "Normal Transactions" by address. But I'm missing 2nd column from the results which is "Method". When I use "export csv" method on the ...
kozyCarolyn's user avatar
1 vote
0 answers
32 views

Cant decode specific transaction input from rollups appendSequencerBatch method

I can easly decode some standard methods and their inputs to get method name and all the parametars but this one specific I cant and all I get is { method: 'appendSequencerBatch', types: [], inputs: []...
Blissful's user avatar
  • 337
0 votes
1 answer
207 views

How can i extract an activity name of a method signature from an ABI?

I am actually working for a research, I'm studying what happened in DAO Hack and I'm looking for some infos in the ABI of TheDarkDAO's smart contract. Exactly I am trying to understand how to discover ...
Zerodrome's user avatar
1 vote
1 answer
622 views

how can I categorize the transactions based on the method they call to transfer and non-transfer transactions using web3?

Blockchain explorers show "transfer" instead of the method id for some of the transactions on their list, so there should be a way to filter transactions based on the method they call. How ...
Azee's user avatar
  • 145
0 votes
2 answers
2k views

Web3.js calling ERC721 contract methods

I'm writing a React app that calls to see who the owner of a tokenId is. I am trying to call the built-in function ownerOf(uint256 tokenId) from the ERC721 contract. Here is my javascript code: const ...
bagofmilk's user avatar
  • 103
0 votes
0 answers
102 views

Index and Search Archive node database for method hash

I want to find similar method hashes, either from contract bytecode or transaction hashes (which in theory are the same because the contract bytecode comes from a contract creation transaction) I have ...
CQM's user avatar
  • 157
1 vote
1 answer
67 views

Which one is better visibility option of solidity method?

I have a external method declared. At some point I realized that I need to call that external method from one of the another method within a contract and which is not possible. There are options to ...
NinjaMAN's user avatar
  • 409