Authentication
This endpoint requires authentication using a JWT token in the Authorization header.
JWT token in the format: Authorization {token}
Request Query
Request Example
curl --request GET \
--url "curl 'https://api.copin.io/embedded-wallets/hyperliquid/transactions/page?limit=20&offset=0' \
-H 'Access-Control-Max-Age: 600' \
-H 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjB4MTUzNTQ4NGMxRWVjMUQyMDNmRTFBNTNFQTExYTYyMWE4ODRBRTA2NyIsInRpbWUiOjE3NDczNzg1MjI4MzMsImFjY2VzcyI6IlY2bUFWQ1RGUUgxNzQ3Mzc4NTIyODMzIiwiaWF0IjoxNzQ3Mzc4NTIyLCJleHAiOjE3NDc5ODMzMjJ9.ENFQvMuqWdl5E6iQTT0jVWd5nYbaG0IfjpYCIvmY1NA'
'
Response
The API returns a paginated list of deposit and withdrawal transactions.
Array of transaction objects
Address of the embedded wallet
data[].estimatedFinishTime
Estimated timestamp when the transaction will be completed
Type of transaction: “DEPOSIT” or “WITHDRAW”
Current status of the transaction: “PENDING”, “SUCCESSFUL”, or “FAILED”
Timestamp when the transaction was created
Transaction details (varies based on transaction type)
Withdraw Transaction Data Fields
data[].data.destinationAddress
Address where funds were sent (for WITHDRAW transactions)
Total amount of the withdrawal request
Total fee amount charged for the withdrawal
data[].data.hyperliquidWithdrawFeeAmount
Withdrawal fee charged by HyperLiquid
data[].data.hyperliquidTransferFeeAmount
Transfer fee charged by HyperLiquid
data[].data.withdrawAmount
Amount being withdrawn after fees
data[].data.receiveAmount
Final amount received after all fees
Timestamp when the withdrawal was processed
Transaction hash for the withdrawal
data[].data.chargeFeeTime
Timestamp when fees were charged
data[].data.chargeFeeTxHash
Transaction hash for the fee charge
Deposit Transaction Data Fields
data[].data.requestTxHash
Transaction hash of the deposit request
data[].data.requestLogIndex
Log index in the transaction
Timestamp when the deposit request was made
data[].data.relayerAddress
Address of the relayer that processed the deposit
String representation of the deposit amount (in wei)
Deposit amount in standard units
Permit data used for the deposit
data[].data.permit.signature
Cryptographic signature for the permit
data[].data.permit.deadline
Timestamp deadline for the permit
Response Example
{
"data": [
{
"embeddedWallet": "0x26C50Fc2c03F7F6CF5B57CF8AE32C633D117FfAc",
"estimatedFinishTime": "2025-05-14T08:15:31.097Z",
"data": {
"destinationAddress": "0x3893209E93c68E7457ef722A4D974861F92859E8",
"amount": 19.71,
"feeAmount": 1,
"hyperliquidWithdrawFeeAmount": 1,
"hyperliquidTransferFeeAmount": 0,
"withdrawAmount": 18.7,
"receiveAmount": 17.7,
"withdrawTime": "2025-05-14T08:10:27.004Z",
"txHash": "0xe352543ca095db090d20c2410b42d8a9bd42b8aebe416246d03b85b0a27ce714",
"chargeFeeTime": "2025-05-14T08:19:00.235Z",
"chargeFeeTxHash": "0x6273d416b0fb3ce3a85604236da6d6020494007643fc73fcb1f93b87dc335741"
},
"type": "WITHDRAW",
"status": "SUCCESSFUL",
"createdAt": "2025-05-14T08:10:24.108Z"
},
{
"embeddedWallet": "0x26C50Fc2c03F7F6CF5B57CF8AE32C633D117FfAc",
"estimatedFinishTime": "2025-04-18T08:50:48.052Z",
"data": {
"requestTxHash": "0xab00db07ea1507e83b9ba55636cd2c0996a425768aa54f404defa7bb77b94993",
"requestLogIndex": 6,
"requestTime": "2025-04-18T08:49:44.000Z",
"relayerAddress": "0x3503D353211Fb7d2069bf521fb462944eeb6c2bb",
"amountStr": "20000000",
"amount": 20,
"permit": {
"signature": "0xde91563abb973f63cb17bca1d3d2beb7ec2faef8478509934680e8595a8444d95003089a5568a1b61476fcf37a887520662b50de9114a07a1a1934349a35ca181c",
"deadline": 1744973390
}
},
"type": "DEPOSIT",
"status": "SUCCESSFUL",
"createdAt": "2025-04-18T08:49:48.052Z"
}
]
}