GET
/
instruction
/
details
curl --request GET \
  --url https://api.otim.com/instruction/details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
  "chainId": 11155111,
  "instructionId": "0x97fbe0031494c55eb0e1d182988e110af02f5db3adb95065733e7dc8447581f9"
}'
{
  "actionName": "sweepDepositAccountERC20",
  "salt": "0x1df631942ef919",
  "maxExecutions": "0x2",
  "action": "0x4aa3bce8f633d68cfc066f7b7db78443bcfe1b95",
  "actionArguments": {
    "sweepDepositAccountERC20": {
      "token": "0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0",
      "depositor": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",
      "recipient": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
      "threshold": "0x0",
      "fee": {
        "token": "0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0",
        "maxBaseFeePerGas": "0x0",
        "maxPriorityFeePerGas": "0x124f80",
        "executionFee": "0x186a0"
      }
    }
  },
  "nickname": "My Instruction",
  "lastExecutedUnix": 0,
  "lastInstructedValue": "0x0",
  "totalInstructedValue": "0x0",
  "instructedTokenAddress": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720"
}

Authorizations

Authorization
string
header
required

JWT token for API authentication

Body

application/json

Response

200 - application/json

Instruction details retrieved successfully

The response is of type object.