MCPcopy Create free account

hub / github.com/INFURA/go-ethlibs / functions

Functions591 in github.com/INFURA/go-ethlibs

↓ 253 callersMethodString
()
eth/data.go:155
↓ 165 callersMethodRLP
RLP returns the Data as an RLP-encoded string.
eth/data.go:352
↓ 78 callersFunctionMustAddress
(value string)
eth/address.go:27
↓ 72 callersFunctionMustQuantity
(value string)
eth/quantity.go:20
↓ 62 callersMethodError
()
jsonrpc/errors.go:29
↓ 53 callersMethodInt64
()
eth/quantity.go:147
↓ 53 callersFunctionQuantityFromInt64
(value int64)
eth/quantity.go:86
↓ 46 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:271
↓ 43 callersFunctionMustTopic
(value string)
eth/data.go:142
↓ 41 callersMethodEncode
Encode returns the 0x prefixed hex string of the RLP value
rlp/encode.go:12
↓ 41 callersFunctionMustParams
MakeParams can be used to generate JSONRPC Params field from well-known data, which should not fail. Examples: request.Params = jsonrpc.MustParams("
jsonrpc/params.go:40
↓ 40 callersMethodUInt64
()
eth/quantity.go:143
↓ 39 callersMethodDone
()
node/websocket/subscription.go:20
↓ 31 callersMethodMatches
Matches returns true if this filter matches the passed in log. It follows the rules expressed at: https://eth.wiki/json-rpc/API#a-note-on-specifying-
eth/logfilter.go:19
↓ 31 callersFunctionMustBlockNumberOrTag
(value string)
eth/block_number_or_tag.go:88
↓ 29 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Log.
eth/zz_deepcopy_generated.go:313
↓ 28 callersMethodFromRaw
FromRaw populates a Transaction's fields from the raw transaction data supplied as a hexadecimal encoded string. For pre-EIP-2718 legacy transactions
eth/transaction_from_raw.go:16
↓ 27 callersMethodErr
()
node/websocket/subscription.go:21
↓ 23 callersFunctionMustHash
(value string)
eth/data.go:138
↓ 23 callersFunctionRequireEqualJSON
(t *testing.T, expected, actual []byte, msgAndArgs ...interface{})
eth/block_test.go:12
↓ 20 callersFunctionNewData
(value string)
eth/data.go:25
↓ 18 callersFunctionFrom
From parses a 0x prefixed hex string into an rlp.Value
rlp/from.go:11
↓ 17 callersFunctionQuantityFromUInt64
(value uint64)
eth/quantity.go:94
↓ 16 callersFunctionapplyContext
(ctx context.Context, request *jsonrpc.Request)
node/client.go:478
↓ 15 callersMethodBytes
()
eth/data.go:399
↓ 15 callersFunctionNewQuantity
(value string)
eth/quantity.go:28
↓ 15 callersFunctionNewQuantityFromRLP
(v rlp.Value)
eth/quantity.go:61
↓ 15 callersMethodRawRepresentation
RawRepresentation returns the transaction encoded as a raw hexadecimal data string, or an error
eth/transaction.go:194
↓ 15 callersMethodTransactionType
TransactionType returns the transactions EIP-2718 type, or TransactionTypeLegacy for pre-EIP-2718 transactions.
eth/transaction.go:117
↓ 14 callersMethodRequest
(ctx context.Context, r *jsonrpc.Request)
node/client.go:73
↓ 13 callersMethodHash
Hash returns the keccak256 hash of the Data.
eth/data.go:223
↓ 12 callersFunctionMustData
(value string)
eth/data.go:93
↓ 12 callersFunctionOptionalQuantityFromInt
(value int)
eth/quantity.go:81
↓ 11 callersMethodChainId
ChainId returns the chain id
node/interfaces.go:38
↓ 11 callersMethodIsProtected
IsProtected returns true if a transaction is replay protected, either via EIP-155 or newer transaction formats. This method returns false for transact
eth/transaction_signing.go:250
↓ 11 callersFunctionMustData32
(value string)
eth/data.go:129
↓ 11 callersFunctionNewHash
(value string)
eth/data.go:75
↓ 11 callersMethodSignature
Signature returns the R, S, V values for a transaction, and the ChainId if available
eth/transaction_signing.go:228
↓ 11 callersFunctiongetRopstenClient
(t *testing.T, ctx context.Context)
node/ropsten_test.go:14
↓ 10 callersFunctionNewData32
(value string)
eth/data.go:65
↓ 10 callersFunctionNewError
(code ErrorCode, message string, data ...map[string]interface{})
jsonrpc/errors.go:33
↓ 10 callersMethodString
()
eth/block_number_or_tag.go:30
↓ 9 callersFunctionNewAddress
(value string)
eth/address.go:17
↓ 9 callersMethodSigningHash
SigningHash returns the Keccak-256 hash of the transaction fields required for transaction signing or an error.
eth/transaction_signing.go:215
↓ 9 callersFunctionunmarshalHex
(data []byte, size int, typ string)
eth/data.go:311
↓ 8 callersMethodBig
()
eth/quantity.go:151
↓ 8 callersMethodFromRaw
FromRaw populates Block fields from the RLP-encoded raw block input string.
eth/block_from_raw.go:10
↓ 8 callersMethodSign
Sign uses the hex-encoded private key and chainId to update the R, S, and V values for a Transaction, and returns the raw signed transaction or an err
eth/transaction_signing.go:13
↓ 7 callersMethodValue
()
eth/bloom.go:14
↓ 7 callersFunctionvalidateHex
(value string, size int, typ string)
eth/data.go:321
↓ 6 callersFunctionNewAccessListFromRLP
NewAccessListFromRLP decodes an RLP list into an AccessList, or returns an error. The RLP format of AccessLists is defined in EIP-2930, each entry is
eth/accesslist.go:40
↓ 6 callersFunctionNewEIP2718Signature
NewEIP2718Signature creates a new Signature from discrete chainId, R, S, and V values.
eth/signature.go:20
↓ 6 callersFunctionNewInput
(value string)
eth/input.go:12
↓ 6 callersMethodRecover
Recover performs ECRecover on the supplied hash using the signatures R, S, and V values, returning the sender Address or an error.
eth/signature.go:134
↓ 6 callersMethodRequest
(ctx context.Context, r *jsonrpc.Request)
node/websocket/websocket.go:394
↓ 6 callersMethodRequiredFields
RequiredFields inspects the Transaction Type and returns an error if any required fields are missing
eth/transaction.go:126
↓ 6 callersMethodString
()
eth/data.go:171
↓ 6 callersFunctionasUnprefixedHex
asUnprefixedHex converts a uint64 to a hex string WITHOUT the 0x prefix
rlp/encode.go:68
↓ 6 callersFunctionhash
(from hasBytes)
eth/data.go:402
↓ 6 callersFunctionrlpDecodeList
rlpDecodeList decodes an RLP list into the passed in receivers. Currently only the receiver types needed for legacy and EIP-2930 transactions are imp
eth/transaction_from_raw.go:391
↓ 5 callersMethodBlockByHash
BlockByHash can be used to get a block by its hash
node/interfaces.go:62
↓ 5 callersMethodBlockByHash
BlockByHash can be used to get a block by its hash
node/websocket/websocket.go:41
↓ 5 callersMethodHash
Hash returns the keccak256 hash of the Data256.
eth/data.go:248
↓ 5 callersFunctionNewData256
(value string)
eth/data.go:83
↓ 5 callersMethodRLP
RLP returns the AccessList as an RLP-encoded list
eth/accesslist.go:17
↓ 5 callersMethodSigningPreimage
SigningPreimage returns the opaque data preimage that is required for signing a given transaction type
eth/transaction_signing.go:80
↓ 5 callersFunctionToChecksumAddress
* ToChecksumAddress converts a string to the proper EIP55 casing. Transliteration of this code from the EIP55 wiki page: function toChecksumAddress
eth/address.go:94
↓ 5 callersMethodTransactionType
TransactionType returns the transactions EIP-2718 type, or TransactionTypeLegacy for pre-EIP-2718 transactions.
eth/transaction_receipt.go:26
↓ 5 callersMethodUnmarshalInto
UnmarshalInto will decode Params into the passed in values, which must be pointer receivers. The type of the passed in value is used to Unmarshal the
jsonrpc/params.go:86
↓ 4 callersMethodAddBytes
(_bytes []byte)
eth/bloom.go:33
↓ 4 callersMethodClose
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
node/loop.go:42
↓ 4 callersFunctionECRecover
ECRecover returns the sending address, given a message digest and R, S, V values. Primarily used to recover the sender of eth.Transaction objects.
eth/signature.go:150
↓ 4 callersMethodFunctionSelector
()
eth/input.go:45
↓ 4 callersMethodMatchesBytes
(_bytes []byte)
eth/bloom.go:60
↓ 4 callersFunctionMustInput
(value string)
eth/input.go:21
↓ 4 callersMethodTransactionByHash
TransactionByHash can be used to get transaction by its hash
node/interfaces.go:65
↓ 4 callersMethodTransactionByHash
eth_getTransactionByHash can be used to get transaction by its hash
node/websocket/websocket.go:44
↓ 4 callersMethodUnmarshalSingleParam
UnmarshalSingleParam can be used in the (rare) case where only one of the Request.Params is needed. For example we use this in Smart Routing to extra
jsonrpc/params.go:111
↓ 4 callersFunctionbigToQuantityString
(i *big.Int)
eth/quantity.go:161
↓ 3 callersMethodBlockByNumber
BlockByNumber can be used to get a block by its number
node/websocket/websocket.go:38
↓ 3 callersMethodCh
()
node/websocket/subscription.go:18
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Block.
eth/zz_deepcopy_generated.go:174
↓ 3 callersMethodEIP155Values
EIP155Values returns the expected R,S, and V values for an EIP-155 Signature. Namely, the V value includes the EIP-155 encoded chain id.
eth/signature.go:118
↓ 3 callersMethodGetHash
()
eth/block_specifier.go:125
↓ 3 callersMethodGetQuantity
()
eth/block_specifier.go:117
↓ 3 callersMethodGetTag
()
eth/block_specifier.go:109
↓ 3 callersFunctionMakeParams
MakeParams generates JSONRPC parameters from its inputs, and should be used for complex dynamic data which may fail to marshal, in which case the erro
jsonrpc/params.go:57
↓ 3 callersFunctionMustBlockSpecifier
(value interface{})
eth/block_specifier.go:101
↓ 3 callersMethodNetworkRepresentation
NetworkRepresentation returns the transaction encoded as a raw hexadecimal data string suitable for network transmission, or an error. For Blob trans
eth/transaction.go:342
↓ 3 callersFunctionNewBlockNumberOrTag
(value string)
eth/block_number_or_tag.go:56
↓ 3 callersFunctionNewBlockSpecifier
(value interface{})
eth/block_specifier.go:79
↓ 3 callersFunctionNewData8
(value string)
eth/data.go:45
↓ 3 callersMethodQuantity
()
eth/block_number_or_tag.go:109
↓ 3 callersMethodRequest
Request method can be used to send JSONRPC requests and receive JSONRPC responses
node/interfaces.go:15
↓ 3 callersFunctionUnmarshal
(data []byte)
jsonrpc/helpers.go:7
↓ 3 callersMethodUnsubscribe
(ctx context.Context)
node/websocket/subscription.go:19
↓ 3 callersFunctiongetRopstenConnection
(t *testing.T, ctx context.Context)
node/websocket/websocket_test.go:13
↓ 3 callersMethodparseBlockResponse
(response *jsonrpc.RawResponse)
node/client.go:349
↓ 3 callersFunctiontoBit
(high, low byte)
eth/bloom.go:89
↓ 2 callersMethodArray
()
eth/logs.go:95
next →1–100 of 591, ranked by callers