Wallets
Page number (default: 1)
1Number of items per page (default: 10)
10Sort field and order. Use - prefix for descending. Example: -createdAt, createdAt
-createdAtFields to select (comma separated). Use + prefix to include hidden fields. Example: name,status,+holders
Relations to populate (comma separated). Example: wallet,token
Get wallets
1common.successGET /api/wallets HTTP/1.1
Host: api.radfi.co
Accept: */*
Get wallets
{
"code": "1",
"message": "common.success",
"data": {},
"metaData": {
"totalItems": 1,
"currentPage": 1,
"pageSize": 1,
"totalPages": 1
}
}Blockchain network of the wallet
Wallet provider / software used
Public key of the wallet
Message (timestamp in ms) signed by the wallet
Signature of the message produced by the wallet
Wallet address (required for BTC; derived from signature for EVM/SOL)
Mark this wallet as the default for its chain
The wallet has been successfully added
1common.successPOST /api/wallets HTTP/1.1
Host: api.radfi.co
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"chain": "bitcoin",
"provider": "text",
"publicKey": "text",
"message": "text",
"signature": "text",
"userAddress": "text",
"isDefault": true
}The wallet has been successfully added
{
"code": "1",
"message": "common.success",
"data": {},
"metaData": {
"totalItems": 1,
"currentPage": 1,
"pageSize": 1,
"totalPages": 1
}
}Get wallet details
1common.successGET /api/wallets/details HTTP/1.1
Host: api.radfi.co
Accept: */*
Get wallet details
{
"code": "1",
"message": "common.success",
"data": {},
"metaData": {
"totalItems": 1,
"currentPage": 1,
"pageSize": 1,
"totalPages": 1
}
}The wallet has been successfully checked
1common.successGET /api/wallets/details/{userAddress} HTTP/1.1
Host: api.radfi.co
Accept: */*
The wallet has been successfully checked
{
"code": "1",
"message": "common.success",
"data": {},
"metaData": {
"totalItems": 1,
"currentPage": 1,
"pageSize": 1,
"totalPages": 1
}
}The wallet has been successfully updated
1common.successPATCH /api/wallets/{id} HTTP/1.1
Host: api.radfi.co
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"isDefault": true
}The wallet has been successfully updated
{
"code": "1",
"message": "common.success",
"data": {},
"metaData": {
"totalItems": 1,
"currentPage": 1,
"pageSize": 1,
"totalPages": 1
}
}The wallet has been successfully unlinked
1common.successPUT /api/wallets/{id}/unlink HTTP/1.1
Host: api.radfi.co
Accept: */*
The wallet has been successfully unlinked
{
"code": "1",
"message": "common.success",
"data": {},
"metaData": {
"totalItems": 1,
"currentPage": 1,
"pageSize": 1,
"totalPages": 1
}
}Last updated