Query VET transfers with a given criteria.
Defines the range for filtering. Setting values to null indicates the entire range.
Note: If omitted or set to null, a timeout may occur if there is a large amount of data to query.
Example:
{ "range": { "unit": "block", "from": 10, "to": 1000 } }
This refers to the range from block 10 to block 1000.
Include these parameters to receive filtered results in a paged format.
Note: If omitted, a timeout may occur if there is a large amount of data to query. If there is a small amount of data you can omit to receive all results in a single response.
{ "options": { "offset": 0, "limit": 10 } }
In this example, the page offset is 0, and the page size is 10.
Specifies the order of the results. Use asc for ascending order, and desc for descending order.
asc
desc
POST /logs/transfer HTTP/1.1 Host: vet.nownodes.io Content-Type: application/json Accept: */* Content-Length: 290 { "range": { "unit": "block", "from": 17240365, "to": 17289864 }, "options": { "offset": 0, "limit": 100 }, "criteriaSet": [ { "txOrigin": "0x6d95e6dca01d109882fe1726a2fb9865fa41e7aa", "sender": "0x6d95e6dca01d109882fe1726a2fb9865fa41e7aa", "recipient": "0x45429a2255e7248e57fce99e7239aed3f84b7a53" } ], "order": "asc" }
OK
[ { "sender": "0x5034aa590125b64023a0262112b98d72e3c8e40e", "recipient": "0x6d95e6dca01d109882fe1726a2fb9865fa41e7aa", "amount": "0x47fdb3c3f456c0000", "meta": { "blockID": "0x0004f6cc88bb4626a92907718e82f255b8fa511453a78e8797eb8cea3393b215", "blockNumber": 325324, "blockTimestamp": 1533267900, "txID": "0x284bba50ef777889ff1a367ed0b38d5e5626714477c40de38d71cedd6f9fa477", "txOrigin": "0xdb4027477b2a8fe4c83c6dafe7f86678bb1b8a8d", "clauseIndex": 0 } } ]