Get contract package fungible token actions

Get contract package fungible token actions by contract package hash

GET /contract-packages/{contract_package_hash}/ft-token-actions

Query params

Sorting

Default sorting is timestamp DESC

Optional properties

Response

PaginatedResponse<FTTokenAction>

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/contract-packages/0885c63f5f25ec5b6f3b57338fae5849aea5f1a2c96fc61411f2bfc5e432de5a/ft-token-actions' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": [
    {
      "amount": "10000000000",
      "contract_package_hash": "0885c63f5f25ec5b6f3b57338fae5849aea5f1a2c96fc61411f2bfc5e432de5a",
      "deploy_hash": "22930a6a3b568ab2c7ed296072181c21a2a3b990998f5898fbc24acf7eec3d66",
      "block_height": 1382964,
      "from_hash": "24a56544c522eca7fba93fb7a6cef83e086706fd87b2f344f5c3dad3603d11f1",
      "from_type": 1,
      "ft_action_type_id": 3,
      "timestamp": "2023-01-05T13:39:09Z",
      "to_hash": "70417ab18bc39062176682e691afdaaf3691fde83e0e6afe77e4982c037b6796",
      "to_type": 1,
      "transform_idx": 13
    },
    {
      "amount": "10000000000",
      "contract_package_hash": "0885c63f5f25ec5b6f3b57338fae5849aea5f1a2c96fc61411f2bfc5e432de5a",
      "deploy_hash": "76518989d5ff8301ab53f1cc917dec29d6485ea8c7dedd99081956a5cb5b8717",
      "block_height": 1385600,
      "from_hash": "24a56544c522eca7fba93fb7a6cef83e086706fd87b2f344f5c3dad3603d11f1",
      "from_type": 0,
      "ft_action_type_id": 3,
      "timestamp": "2023-01-06T13:41:20Z",
      "to_hash": "b6c26649540c59decbc53274a67336d0588f6ad2ae0863a8a636dddcc75689f0",
      "to_type": 1,
      "transform_idx": 13
    },
    ...
    {
      "amount": "1999999999",
      "contract_package_hash": "0885c63f5f25ec5b6f3b57338fae5849aea5f1a2c96fc61411f2bfc5e432de5a",
      "deploy_hash": "01531f387d5d711c332adc15be7ff23ba55033a93c591204af9a6e36ec1c3e0f",
      "block_height": 1401132,
      "from_hash": null,
      "from_type": 1,
      "ft_action_type_id": 1,
      "timestamp": "2023-01-12T11:21:58Z",
      "to_hash": "b6c26649540c59decbc53274a67336d0588f6ad2ae0863a8a636dddcc75689f0",
      "to_type": 1,
      "transform_idx": 92
    }
  ],
  "item_count": 97704,
  "page_count": 9771
}

Last updated