Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/INFURA/go-ethlibs
/ functions
Functions
591 in github.com/INFURA/go-ethlibs
⨍
Functions
591
◇
Types & classes
134
↓ 2 callers
Method
BlockByNumber
BlockByNumber can be used to get a block by its number
node/interfaces.go:56
↓ 2 callers
Method
BlockNumber
BlockNumber returns the current block number at head
node/interfaces.go:32
↓ 2 callers
Method
BlockNumber
BlockNumber returns the current block number at head
node/websocket/websocket.go:35
↓ 2 callers
Method
DeepCopyInto
DeepCopyInto copies Quantity values into out
eth/quantity.go:133
↓ 2 callers
Function
ECSign
ECSign returns the signature values for a given message hash for the given chainId using the bytes of given private key. Primarily used to sign trans
eth/signature.go:77
↓ 2 callers
Function
GetBlockSpecifierTestCases
()
eth/block_specifier_test.go:18
↓ 2 callers
Method
GetTransactionCount
GetTransactionCount get the pending nonce for public address
node/interfaces.go:50
↓ 2 callers
Method
HTTPRequest
()
jsonrpc/handlers.go:29
↓ 2 callers
Method
ID
()
node/websocket/subscription.go:17
↓ 2 callers
Method
IsList
()
rlp/value.go:10
↓ 2 callers
Method
MarshalJSON
()
eth/block_specifier.go:149
↓ 2 callers
Function
MethodNotSupported
(request *Request, data ...map[string]interface{})
jsonrpc/errors.go:86
↓ 2 callers
Function
MustData4
(value string)
eth/data.go:102
↓ 2 callers
Function
MustTag
(s string)
eth/block_number_or_tag.go:48
↓ 2 callers
Function
NewAuthorizationListFromRLP
NewAuthorizationListFromRLP decodes an RLP list into an AuthorizationList, or returns an error. The RLP format of AuthorizationLists is defined in EIP
eth/authorizationlist.go:42
↓ 2 callers
Function
NewClient
(ctx context.Context, rawURL string)
node/client.go:22
↓ 2 callers
Function
NewConnection
NewConnection creates a Connection to the passed in URL. Use the supplied Context to shutdown the connection by cancelling or otherwise aborting the
node/websocket/websocket.go:102
↓ 2 callers
Function
NewData20
(value string)
eth/data.go:55
↓ 2 callers
Function
NewEIP155Signature
NewEIP155Signature creates a new Signature from EIP-155 packed R,S,V values
eth/signature.go:38
↓ 2 callers
Function
NewTopic
(value string)
eth/data.go:79
↓ 2 callers
Method
RLP
()
eth/quantity.go:155
↓ 2 callers
Function
RequestHandlerFunc
RequestHandlerFunc is a helper for handling JSONRPC Requests over HTTP It can be used by microservices to handle JSONRPC methods. For example: http.
jsonrpc/handlers.go:21
↓ 2 callers
Method
SendRawTransaction
SendRawTransaction will send the raw signed transaction return tx hash or error
node/interfaces.go:53
↓ 2 callers
Method
String
()
eth/data.go:159
↓ 2 callers
Method
String
()
eth/data.go:161
↓ 2 callers
Method
String
()
eth/data.go:167
↓ 2 callers
Method
String
()
eth/address.go:36
↓ 2 callers
Method
Subscribe
Subscribe method can be used to subscribe via eth_subscribe
node/interfaces.go:20
↓ 2 callers
Method
Subscribe
(ctx context.Context, r *jsonrpc.Request)
node/client.go:77
↓ 2 callers
Method
Subscribe
(ctx context.Context, r *jsonrpc.Request)
node/websocket/websocket.go:424
↓ 2 callers
Method
UnmarshalJSON
(data []byte)
eth/transaction.go:92
↓ 2 callers
Function
WriteResponse
(w http.ResponseWriter, request *Request, result interface{}, e *Error)
jsonrpc/handlers.go:83
↓ 2 callers
Method
bloomBits
(_bytes []byte)
eth/bloom.go:69
↓ 2 callers
Function
copyRequest
(request *jsonrpc.Request)
node/loop.go:408
↓ 2 callers
Function
from
from parses the input string and returns an rlp.Value and any remaining unparsed text
rlp/from.go:27
↓ 2 callers
Function
newLoopingTransport
(ctx context.Context, conn connCloser, readMessage readMessageFunc, writeMessage writeMessageFunc)
node/loop.go:20
↓ 2 callers
Method
nextID
(seed jsonrpc.ID)
node/loop.go:350
↓ 2 callers
Method
nextID
()
node/websocket/websocket.go:384
↓ 2 callers
Method
parseBlockResponse
(response *jsonrpc.RawResponse)
node/websocket/websocket.go:498
↓ 2 callers
Function
parseListItems
parseListItems breaks an RLP text string into an []rlp.Value slice
rlp/from.go:164
↓ 2 callers
Function
pubKeyBytesToAddress
pubKeyBytesToAddress converts the uncompressed bytes of a secp256k1.PublicKey into an Ethereum address.
eth/signature.go:184
↓ 2 callers
Method
stop
(ctx context.Context)
node/subscription.go:134
↓ 1 callers
Method
AddAddress
(addr Address)
eth/bloom.go:25
↓ 1 callers
Method
AddData32
(data Data32)
eth/bloom.go:29
↓ 1 callers
Method
AddLog
(log Log)
eth/bloom.go:18
↓ 1 callers
Method
Bytes
()
eth/data.go:175
↓ 1 callers
Function
ContextWithRequestID
(parent context.Context, id jsonrpc.ID)
node/context.go:11
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:9
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:31
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:52
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:83
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:184
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:201
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:231
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:251
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:323
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:370
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:387
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:450
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:467
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:493
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:513
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:630
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:692
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:709
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
eth/zz_deepcopy_generated.go:787
↓ 1 callers
Method
EIP2718Values
EIP2718Values returns the expected R, S, and V values for EIP-2718 signatures. Namely, the V value is simply the 0x0 or 0x1 parity bit.
eth/signature.go:128
↓ 1 callers
Method
EstimateGas
EstimateGas returns the estimate gas
node/interfaces.go:41
↓ 1 callers
Method
FromBlock
FromBlock can be used to populate a NewHeadsResult with the contents of a Block. It does a best effort to emulate a NewHeadsResult with the same flavo
eth/new_heads.go:67
↓ 1 callers
Method
GasPrice
GasPrice (Legacy) returns the suggested gas price
node/interfaces.go:47
↓ 1 callers
Method
GetLogs
GetLogs
node/websocket/websocket.go:62
↓ 1 callers
Method
HashToBytes
HashToBytes returns the keccak256 hash of the encoded RLP as a byte slice
rlp/hash.go:25
↓ 1 callers
Function
InvalidInput
(message string, data ...map[string]interface{})
jsonrpc/errors.go:70
↓ 1 callers
Function
InvalidRequest
(message string, data ...map[string]interface{})
jsonrpc/errors.go:53
↓ 1 callers
Method
IsBidirectional
IsBidirectional returns true if the under laying transport supports bidirectional features such as subscriptions
node/interfaces.go:80
↓ 1 callers
Method
IsBidirectional
()
node/client.go:65
↓ 1 callers
Method
IsString
()
rlp/value.go:14
↓ 1 callers
Function
MakeRequest
MakeRequest builds a Request from all its parts, but returns an error if the params cannot be marshalled.
jsonrpc/request.go:29
↓ 1 callers
Method
MatchesAddress
(addr Address)
eth/bloom.go:52
↓ 1 callers
Method
MatchesData32
(data Data32)
eth/bloom.go:56
↓ 1 callers
Method
MatchesLog
(log Log)
eth/bloom.go:39
↓ 1 callers
Method
MaxPriorityFeePerGas
MaxPriorityFeePerGas (EIP1559) returns the suggested tip for block
node/interfaces.go:44
↓ 1 callers
Function
MustData256
(value string)
eth/data.go:146
↓ 1 callers
Function
MustData8
(value string)
eth/data.go:111
↓ 1 callers
Function
MustRequest
MustRequest builds a request from all its parts but panics if the params cannot be marshaled, so should only be used with well-known parameter data.
jsonrpc/request.go:45
↓ 1 callers
Method
NetVersion
NetVersion returns the netversion
node/interfaces.go:35
↓ 1 callers
Function
NewBlockSpecifierFromMap
(value map[string]interface{})
eth/block_specifier.go:45
↓ 1 callers
Function
NewBlockSpecifierFromString
(value string)
eth/block_specifier.go:17
↓ 1 callers
Function
NewData4
(value string)
eth/data.go:35
↓ 1 callers
Method
NewHeads
NewHeads subscription
node/websocket/websocket.go:53
↓ 1 callers
Function
NewTag
(s string)
eth/block_number_or_tag.go:34
↓ 1 callers
Function
OptionalString
OptionalString can be used to generate a string pointer from a static string easily
eth/helpers.go:4
↓ 1 callers
Function
QuantityFromBigInt
(value *big.Int)
eth/quantity.go:102
↓ 1 callers
Method
RLP
()
eth/authorizationlist.go:19
↓ 1 callers
Method
RawJSON
()
jsonrpc/handlers.go:37
↓ 1 callers
Function
RawPtr
(s string)
jsonrpc/raw_response_test.go:10
↓ 1 callers
Method
Request
Request method can be used by downstream consumers of ChangeEvent to make generic JSONRPC requests
node/websocket/websocket.go:47
↓ 1 callers
Method
SetReadDeadline
SetReadDeadline sets the deadline for future Read calls and any currently-blocked Read call. A zero value for t means Read will not time out.
node/loop.go:47
↓ 1 callers
Method
SetWriteDeadline
SetWriteDeadline sets the deadline for future Write calls and any currently-blocked Write call. Even if write times out, it may return n > 0, indicati
node/loop.go:54
↓ 1 callers
Method
String
()
eth/input.go:30
← previous
next →
101–200 of 591, ranked by callers