Thanks to visit codestin.com Credit goes to docs.otim.com
cURL
curl --request GET \ --url https://api.otim.com/instructions/activity \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "chainId": 11155111, "actionNames": [ "transferERC20", "transfer" ], "perPage": 10, "page": 0 } '
[ { "address": "<string>", "actionName": "<string>", "blockTimestamp": 123, "executionCount": 123, "instructionId": "<string>", "transactionHash": "<string>", "activity": { "token": "<string>", "from": "<string>", "to": "<string>", "value": 123 } } ]
Get instruction activity for a specific chain
JWT token for API authentication
Chain ID
11155111
List of action names to filter by
["transferERC20", "transfer"]
Number of records per page
10
Page number
0
Activity retrieved successfully
User address
Name of the action
Block timestamp
Execution count
Instruction ID
Transaction hash
Show child attributes