Skip to content
Stove Website

Query Corporate Action Records ​

Endpoint: GET /api/v1/maker/corporate-actions/actions

Description: Query corporate action records for the current Maker address, returning records with status triggered (pending) and processed (completed)

Authentication: API Key + Signature. See Authorization

Request Parameters ​

FieldTypeRequiredDescription
tokenstringNoURL parameter, filter by token contract address
chain_idintegerNoURL parameter, filter by chain ID
pageintegerNoURL parameter, page number, default 1
page_sizeintegerNoURL parameter, items per page, default 20

Response Parameters ​

FieldTypeDescription
actionsarrayList of corporate action records
actions[].idstringRecord UUID
actions[].makerstringMaker wallet address
actions[].chain_idintegerChain ID
actions[].holding_qtystringPre-action holding quantity (off-chain standard value)
actions[].action_qtystringPost-action quantity; same as holding_qty for dividend; "0" for delisting
actions[].compensation_qtystring|nullFractional share quantity (off-chain standard value)
actions[].statusstringRecord status: triggered (pending) / processed (completed)
actions[].is_token_lockedbooleanWhether the Maker's token is locked for this corporate action
actions[].created_atstring|nullCreation time (ISO 8601)
actions[].updated_atstring|nullLast update time (ISO 8601)
actions[].processed_hashstring|nullOn-chain transaction hash after processing, null before processing
actions[].processed_atstring|nullProcessing completion time (ISO 8601), null before processing
actions[].remarkstring|nullRemark, records error message on failure
actions[].tax_ratestring|nullAdmin-confirmed dividend tax rate (integer percentage, e.g. "10" means 10%)
actions[].original_fee_amountstring|nullAdmin-confirmed pre-conversion fee (original currency, e.g. USD/HKD)
actions[].original_net_amountstring|nullAdmin-confirmed pre-conversion net dividend amount (original currency)
actions[].original_compensation_amountstring|nullAdmin-confirmed pre-conversion compensation amount (original currency)
actions[].token_addressstring|nullStock token contract address
actions[].action_typestring|nullCorporate action type: dividend / stock_split / reverse_stock_split / delisting / ticker_change
actions[].paramsobject|nullPlan default parameters, structure varies by action_type
actions[].tickerstring|nullUnderlying stock ticker
actions[].exchangeinteger|nullExchange identifier
total_countintegerTotal number of matching records

Request Example ​

bash
curl -X GET "/api/v1/maker/corporate-actions/actions?page=1&page_size=20" \
     -H "X-API-Key: YOUR_API_KEY" \
     -H "X-Maker-Addr: YOUR_MAKER_ADDRESS" \
     -H "X-API-Timestamp: 1715100000000" \
     -H "X-API-Signature: GENERATED_SIGNATURE" \
     -H "Content-Type: application/json"

Response Example ​

json
{
  "code": 0,
  "data": {
    "actions": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "maker": "0x5fc23eB93208F58e29A1AC493dc15FD0b0Cb5C92",
        "chain_id": 56,
        "holding_qty": "1000",
        "action_qty": "1000",
        "compensation_qty": "0",
        "status": "triggered",
        "is_token_locked": false,
        "created_at": "2024-12-01T10:00:00Z",
        "updated_at": "2024-12-01T10:00:00Z",
        "processed_hash": null,
        "processed_at": null,
        "remark": null,
        "tax_rate": "10",
        "original_fee_amount": "0.5",
        "original_net_amount": "22.5",
        "original_compensation_amount": null,
        "token_address": "0x1c6611cde556f439252c2845c33702c3035fe351",
        "action_type": "dividend",
        "params": {
          "type": "dividend",
          "dividend_per_share": "2.5",
          "tax_rate": 10,
          "fee_amount": "3",
          "ex_dividend_date": "2024-12-20",
          "dividend_date": "2024-12-31",
          "distribution_plan": "Cash dividend of $2.50 per share"
        },
        "ticker": "AAPLs",
        "exchange": 0
      }
    ],
    "total_count": 1
  }
}