Input Schema
{
"body": {
"amount": "1",
"destination": "0x1111111111111111111111111111111111111111",
"destinationDex": "spot",
"fromSubAccount": "",
"nonce": 1710000000000,
"sourceDex": "",
"token": "USDC:0x6d1e7cde53ba9467b783cb7c530ce054"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"response": {
"actions": [
{
"chainId": 42161,
"data": {
"action": {
"amount": "1",
"destination": "0x1111111111111111111111111111111111111111",
"destinationDex": "spot",
"fromSubAccount": "",
"hyperliquidChain": "Mainnet",
"nonce": 1710000000000,
"signatureChainId": "0xa4b1",
"sourceDex": "",
"token": "USDC:0x6d1e7cde53ba9467b783cb7c530ce054",
"type": "sendAsset"
},
"nonce": 1710000000000,
"typedData": {
"domain": {
"chainId": 42161,
"name": "HyperliquidSignTransaction",
"verifyingContract": "0x0000000000000000000000000000000000000000",
"version": "1"
},
"message": {
"amount": "1",
"destination": "0x1111111111111111111111111111111111111111",
"destinationDex": "spot",
"fromSubAccount": "",
"hyperliquidChain": "Mainnet",
"nonce": 1710000000000,
"signatureChainId": "0xa4b1",
"sourceDex": "",
"token": "USDC:0x6d1e7cde53ba9467b783cb7c530ce054",
"type": "sendAsset"
},
"primaryType": "HyperliquidTransaction:SendAsset",
"types": {
"EIP712Domain": [
{
"name": "name",
"type": "string"
},
{
"name": "version",
"type": "string"
},
{
"name": "chainId",
"type": "uint256"
},
{
"name": "verifyingContract",
"type": "address"
}
],
"HyperliquidTransaction:SendAsset": [
{
"name": "hyperliquidChain",
"type": "string"
},
{
"name": "destination",
"type": "string"
},
{
"name": "sourceDex",
"type": "string"
},
{
"name": "destinationDex",
"type": "string"
},
{
"name": "token",
"type": "string"
},
{
"name": "amount",
"type": "string"
},
{
"name": "fromSubAccount",
"type": "string"
},
{
"name": "nonce",
"type": "uint64"
}
]
}
}
},
"protocol": "hyperliquid",
"submitPath": "/perp/hyperliquid/send-asset/execute",
"type": "signature"
}
],
"errors": [],
"warnings": []
}
},
"type": "json"
}