Parameters
chainId
string
default:"10"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"ots_searchTransactionsAfter"
required
JSON-RPC method name.
The parameters for method ots_searchTransactionsAfter: [address, defaultBlock, pageSize].Positional parameters for ots_searchTransactionsAfter:params[0]: The address.params[1]: Block identifier. Can be an integer block number or a string tag: “latest”, “earliest”, or “pending”.params[2]: The page size for the number of results to return.
Returns
Paginated list of transactions and receipts for a given address before or after a specified block number.
List of transactions (inbound, outbound, or internal) touching the target address, sorted from most recent to oldest.
Recipient address, or null if contract creation.
Amount of ETH transferred, in hexadecimal Wei.
Method selector or calldata (possibly truncated).
Transaction type: “external”, “internal”, or “contract”.
List of receipts corresponding to the returned transactions.
Logs are omitted to reduce payload size.
Logs bloom is omitted to reduce payload size.
True if this page starts from the most recent block (for Before) or if no more results follow (for After).
True if this page reaches the genesis block (for After) or no more results follow (for Before).
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "ots_searchTransactionsAfter",
"params": [
"0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95",
0,
5
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}