user-actions

Create a user action

post/users/{id}/actions

Path parameters

idnumber required

Request body

action1 | 2 | 3 | 5 | 6 | 7 required

The action to create (send the numeric enum value). All UserActionEnum options (label=value): CONVERT=1, MINT_STAKE=2, WITHDRAWAL=3, DEPOSIT=5, REDEEM=6, SEND=7, RECEIVE=8

txHashstring required

The transaction hash

sourceChainIdnumber required

The source chain ID

destinationChainIdnumber required

The destination chain ID

guidstring

Cross-chain message guid (32-byte hex). Validated only when provided.

Example request

{
  "action": 1,
  "guid": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "data": {
    "receiver": "0x1111111111111111111111111111111111111111",
    "inputAsset": "0x2222222222222222222222222222222222222222",
    "inputAmount": "1000000"
  }
}

Response

User action created

UserActionEntity required

Changes