sendAsset
Generic asset transfer supporting flexible source and destination configurations including cross-DEX transfers.
Sample Data#
{
"signature": {
"r": "0x93eef9b0e03606c293b12d43930c38dc246777cb222b3eb296396bc46d9481b5",
"s": "0x295978b118626247150483ce4c462680dcaa8ba4cf1f9cc779967d8503287900",
"v": 28
},
"action": {
"type": "sendAsset",
"signatureChainId": "0x1",
"hyperliquidChain": "Mainnet",
"destination": "0xf2743533df9c376a09da0b9810de8c457e28aadc",
"sourceDex": "",
"destinationDex": "",
"token": "USDC:0x6d1e7cde53ba9467b783cb7c530ce054",
"amount": "4.912352",
"fromSubAccount": "",
"nonce": 1768146914372
},
"nonce": 1768146914372
}
View this transaction on Hypurrscan →
Field Reference#
Action Fields#
| Field | Type | Description |
|---|---|---|
type | string | Always "sendAsset" |
destination | string | Recipient address |
sourceDex | boolean | Source is DEX (vs bridge) |
destinationDex | boolean | Destination is DEX (vs bridge) |
token | string | Token to transfer |
amount | string | Amount to transfer |
fromSubAccount | boolean | Transfer from sub-account |
Use Cases#
Cross-Account Transfers#
Track asset movements:
def process_sendAsset_action(action):
destination = action.get('destination')
token = action.get('token')
amount = action.get('amount')
print(f"Asset transfer: {amount} {token} to {destination[:10]}...")