概述
Webhooks 会在事件发生时——充值、提现、交换等——向您的服务器推送实时通知。您的服务器无需轮询 API,即可在交易完成时立即收到更新。
Webhooks 会在事件发生时——充值、提现、交换等——向您的服务器推送实时通知。您的服务器无需轮询 API,即可在交易完成时立即收到更新。
前提条件
在配置 Webhooks 之前,请确保您已具备:1
API 密钥
从 Blockradar 控制面板 获取您的 API 密钥。导航至 Developers 生成密钥。
2
Webhook 端点
在您的服务器上创建一个 POST 端点,能够接收 JSON 载荷并返回
200 OK 响应。3
HTTPS URL(生产环境)
在生产环境中,您的 Webhook URL 必须使用 HTTPS。本地测试时,可以使用 ngrok 或 webhook.site 等工具。
4
主钱包
通过控制面板在您的主钱包上配置 Webhook URL。
工作原理
当您向 API 端点发出请求时,您期望获得近乎即时的响应。但是,某些请求可能需要较长时间处理,这可能导致超时错误。为了防止超时错误,会返回一个待处理响应。由于您的记录需要更新为请求的最终状态,您需要:- 请求更新(通常称为轮询),或
- 使用 Webhook URL 监听事件。
实用提示
我们建议您使用 Webhook 为客户提供价值,而不是使用回调或轮询。使用回调时,我们无法控制客户端发生的情况,您也无法控制。如果客户设备上的网络连接失败或较弱,或者设备在交易后关闭,回调可能会失败。
我们建议您使用 Webhook 为客户提供价值,而不是使用回调或轮询。使用回调时,我们无法控制客户端发生的情况,您也无法控制。如果客户设备上的网络连接失败或较弱,或者设备在交易后关闭,回调可能会失败。
轮询 vs Webhooks
轮询需要定期发出GET 请求以获取请求的最终状态。例如,当您为客户分配充值地址时,您需要不断请求与该地址关联的交易,直到找到一个。
使用 Webhooks,资源服务器(在本例中为 Blockradar)会在您请求的状态发生变化时向您的服务器发送更新。请求状态的变化称为事件。您通常会在称为 Webhook URL 的 POST 端点上监听这些事件。
下表突出显示了轮询和 Webhooks 之间的一些差异:
| 轮询 | Webhooks | |
|---|---|---|
| 更新方式 | 手动 | 自动 |
| 速率限制 | Yes | No |
| 受扩展影响 | Yes | No |
创建 Webhook URL
Webhook URL 只是资源服务器发送更新的 POST 端点。该 URL 需要解析 JSON 请求并返回200 OK:
// Using Express
app.post("/my/webhook/url", function(req, res) {
// Retrieve the request's body
const event = req.body;
// Do something with event
res.send(200);
});
<?php
// Retrieve the request's body and parse it as JSON
$input = file_get_contents("php://input");
$event = json_decode($input, true);
// Check for JSON parsing errors
if (json_last_error() !== JSON_ERROR_NONE) {
http_response_code(400); // Bad Request
echo json_encode(["error" => "Invalid JSON"]);
exit();
}
// Do something with $event
// For example, log the event or process it
// log_event($event);
// Send a successful response
http_response_code(200); // HTTP status code 200 OK
echo json_encode(["status" => "success"]);
?>
200 OK。如果响应头中没有 200 OK,我们将在接下来的 2 小时 35 分钟内持续发送事件:
- 我们将尝试发送 5 次 Webhook,每次尝试之间的延迟递增,从 5 分钟开始并以指数方式增加到 80 分钟。这 5 次尝试的总持续时间约为 2 小时 35 分钟。
避免长时间运行的任务
如果您的 Webhook 函数中有长时间运行的任务,您应该在执行长时间运行的任务之前确认事件。长时间运行的任务会导致请求超时和服务器自动返回错误响应。没有 200 OK 响应,我们将按上述方式重试。
如果您的 Webhook 函数中有长时间运行的任务,您应该在执行长时间运行的任务之前确认事件。长时间运行的任务会导致请求超时和服务器自动返回错误响应。没有 200 OK 响应,我们将按上述方式重试。
本地测试 Webhooks
在开发过程中,您可以在测试(TEST)主钱包环境中将 Webhook URL 配置为本地地址,例如http://localhost 或 127.0.0.1。
要将本地服务器暴露到互联网以进行测试,请考虑使用 ngrok 或 webhook.site 等工具。这些工具允许您查看 Webhook 载荷的样子,并在将应用程序部署到正式环境之前在本地模拟 Webhook 事件。
使用这些工具,您可以确保 Webhook 集成正常工作,并在进入生产环境之前在受控的本地环境中处理任何问题。
重新发送交易 Webhook
如果由于某些原因您没有收到交易 Webhook 且退避时间已过,我们提供了一个 API 供您重新发送交易 Webhook。谨慎使用!
这可能导致处理已完成的交易,请确保在使用此端点时进行适当的验证。
这可能导致处理已完成的交易,请确保在使用此端点时进行适当的验证。
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/transactions/webhooks/resend \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "TRANSACTION_ID"
}'
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: '{"id":"TRANSACTION_ID"}'
};
fetch('https://api.blockradar.co/v1/wallets/{walletId}/transactions/webhooks/resend', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
验证事件来源
由于您的 Webhook URL 是公开可用的,您需要验证事件是否来自 Blockradar 而不是恶意攻击者。有两种方法可以确保 Webhook URL 的事件来自 Blockradar:- 签名验证(推荐)
签名验证
从 Blockradar 发送的事件带有 x-blockradar-signature 头。此头的值是使用您的密钥对事件载荷进行 HMAC SHA512 签名的结果。应在处理事件之前验证头签名:const crypto = require('crypto');
const apiKey = process.env.WALLET_API_KEY;
// Using Express
app.post("/my/webhook/url", function(req, res) {
//validate event
const hash = crypto.createHmac('sha512', apiKey).update(JSON.stringify(req.body)).digest('hex');
if (hash == req.headers['x-blockradar-signature']) {
// Retrieve the request's body
const event = req.body;
// Do something with event
}
res.send(200);
});
<?php
// Retrieve the request's body
$body = file_get_contents('php://input');
// Get the API key from the environment
$apiKey = getenv('WALLET_API_KEY');
// Using HMAC-SHA512 for hashing
$signature = hash_hmac('sha512', $body, $apiKey);
// Check if the signature matches the one provided in the headers
if ($signature === $_SERVER['HTTP_X_BLOCKRADAR_SIGNATURE']) {
// The signature is valid, proceed with processing the event
$event = json_decode($body, true);
// Do something with $event
}
// Send a 200 OK response
http_response_code(200);
import hmac
import hashlib
import json
from flask import Flask, request, jsonify
app = Flask(__name__)
@app.route("/my/webhook/url", methods=["POST"])
def webhook():
# Retrieve the request's body
body = request.get_data()
# Get the API key
api_key = os.environ.get('WALLET_API_KEY')
# Using HMAC-SHA512 for hashing
signature = hmac.new(api_key.encode('utf-8'), body, hashlib.sha512).hexdigest()
# Check if the signature matches the one provided in the headers
if signature == request.headers.get('X-BlockRadar-Signature'):
# The signature is valid, proceed with processing the event
event = json.loads(body.decode('utf-8'))
# Do something with event
# Send a 200 OK response
return '', 200
上线检查清单
现在您已成功创建 Webhook URL,以下是确保您获得良好体验的一些方法:- 在 Blockradar 控制面板的主钱包上添加 Webhook URL
- 确保您的 Webhook URL 是公开可用的(localhost URL 无法接收事件)
- 如果使用
.htaccess,请记住在 URL 末尾添加尾部/ - 测试您的 Webhook,确保您能获取 JSON 主体并返回
200 OKHTTP 响应 - 如果您的 Webhook 函数有长时间运行的任务,您应该首先通过返回
200 OK确认收到 Webhook,然后再继续长时间运行的任务 - 如果我们没有从您的 Webhook 收到
200 OKHTTP 响应,我们会将其标记为失败尝试 - 我们将尝试发送 5 次 Webhook,每次尝试之间的延迟递增,从 5 分钟开始并以指数方式增加到 80 分钟。这 5 次尝试的总持续时间约为 2 小时 35 分钟。
事件类型
以下是我们目前触发的事件。随着我们在未来接入更多操作,我们会将更多事件添加到此列表中。Webhook 载荷中的网络费用
每个交易 webhook 都包含两个描述交易处理过程中所产生网络费用的字段:networkFee 汇总和 networkFees 明细。
networkFee
您的 Blockradar 托管钱包在此交易流程中支付的网络费用总额,以链的原生代币和美元计。将成本转嫁给您的客户时,请使用该数值。"networkFee": {
"amount": "0.000095597672027028",
"symbol": "ETH",
"amountUsd": "0.248568"
}
| 字段 | 说明 |
|---|---|
amount | 以链的原生代币计的费用总额,为您的钱包在此交易流程中支付的所有费用之和 |
symbol | 支付费用所用的原生代币,如 ETH、BNB、TRX、SOL 或 XLM |
amountUsd | 总额的美元价值。若任一组成部分无可用美元汇率则为 null,此时请对 amount 应用您自己的汇率 |
networkFee 为 null。最常见的情况是 deposit.success,其 gas 由充值方支付。该费用仍显示在交易的 gasFee 字段中,只是不是您承担的成本。
withdraw.failed 事件可能带有非 null 的 networkFee。如果提现在链上回滚,gas 仍然已被消耗。networkFees
汇总背后可验证的明细。每一条都是一笔链上费用,带有自己的交易哈希,因此每一步都可以在区块浏览器上独立验证。一次逻辑操作通常涉及多笔费用交易,例如为充值地址注入 gas、批准代币,然后执行归集。下面的明细对应上面的networkFee 汇总,其条目之和恰好等于该总额。
"networkFees": [
{
"operation": "GAS_FUNDING",
"feeSource": "MASTER_WALLET",
"status": "CONFIRMED",
"txHash": "0x3f8d21c6a9b1e04f7c2d85e9410ab6c3d7f52e98014db67aa20c1e5f4b9d7e31",
"feeNative": "0.000021",
"feeUsd": "0.054603",
"nativeRateUsd": "2600.15",
"createdAt": "2024-10-23T11:28:31.204Z"
},
{
"operation": "SWEEP",
"feeSource": "MASTER_WALLET",
"status": "CONFIRMED",
"txHash": "0xe5ae1c025b81ff83a03189fad1c0f5bd502cd0b394bed6765603f9ba05bfe147",
"feeNative": "0.000074597672027028",
"feeUsd": "0.193965",
"nativeRateUsd": "2600.15",
"createdAt": "2024-10-23T11:28:52.901Z"
}
]
| 字段 | 说明 |
|---|---|
operation | 该费用的用途,如 WITHDRAW、SWEEP、GAS_FUNDING、TOKEN_APPROVAL、DRAIN 或 ENERGY_PURCHASE |
feeSource | 支付费用的钱包:ADDRESS(充值地址)、MASTER_WALLET(您的主钱包或资金池钱包)、PLATFORM 或 PROVIDER(由平台赞助,非您的成本) |
status | 费用状态,通常为 CONFIRMED |
txHash | 支付该费用的交易哈希 |
feeNative | 以链的原生代币计的费用金额 |
feeUsd | 记录费用时的美元价值,可能为 null |
nativeRateUsd | 该条目使用的原生代币兑美元汇率 |
createdAt | 费用记录时间 |
- 向客户收费时请使用
networkFee。它只汇总您的钱包支付的条目(ADDRESS和MASTER_WALLET),并排除 Blockradar 赞助的部分(PLATFORM和PROVIDER)。切勿将赞助条目转嫁给您的客户。 - 明细是 webhook 发送时刻的快照。事件之后记录的费用(例如剩余 gas 的回收)会出现在 webhook 重发和网络费用 API(
GET /wallets/{walletId}/network-fees)中,后者是实时账本。
事件示例
以下是一些最常见事件的 Webhook 载荷示例:- 充值成功
- 充值处理中
- 提现成功
- 法币提现处理中
- 签名成功
- 签名失败
- 交换成功
- 充值归集成功
- 提现失败
- 交换失败
- 充值失败
- 充值归集失败
- 质押成功
- 自定义智能合约成功
- Gateway 充值成功
- Gateway 充值失败
- Gateway 提现成功
- 提现失败
{
"event": "deposit.success",
"data": {
"id": "6d2f9646-cae4-48a5-8bfe-1f9379868d4f",
"reference": "LSk5RLfSrR",
"senderAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"recipientAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"amount": "10.0",
"amountPaid": "10.0",
"fee": null,
"currency": "USD",
"blockNumber": 6928760,
"blockHash": "0x5f2e0ed782752b9559e7a3d89c0fb9f6706e4866e74ba7a434cf933bb3f02a2b",
"hash": "0x94c733496df59c15e5a489f20374096bba31166a8e149ceea4d410e3e5821357",
"confirmations": 6,
"confirmed": true,
"gasPrice": "1201381238",
"gasUsed": "62159",
"gasFee": "0.000074676656372842",
"status": "SUCCESS",
"type": "DEPOSIT",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "testnet",
"chainId": 11155111,
"metadata": {
"user_id": 1
},
"createdAt": "2024-10-23T11:19:58.451Z",
"updatedAt": "2024-10-23T11:19:58.451Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": {
"id": "0a69c48a-6c6f-422c-bd6a-70de3306a3ac",
"address": "0xe1037B45b48390285e5067424053fa35c478296b",
"name": "Customer 1",
"isActive": true,
"type": "INTERNAL",
"derivationPath": "m/44'/60'/0'/0/87",
"metadata": {
"user_id": 1
},
"configurations": {
"aml": {
"status": "success",
"message": "Address is not sanctioned",
"provider": "ofac"
},
"showPrivateKey": false,
"disableAutoSweep": false,
"enableGaslessWithdraw": false
},
"network": "testnet",
"createdAt": "2024-10-23T11:13:40.446Z",
"updatedAt": "2024-10-23T11:13:40.446Z"
},
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null,
"networkFee": null,
"networkFees": []
}
}
{
"event": "deposit.processing",
"data": {
"id": "6d2f9646-cae4-48a5-8bfe-1f9379868d4f",
"reference": "LSk5RLfSrR",
"senderAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"recipientAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"amount": "10.0",
"amountPaid": "10.0",
"fee": null,
"currency": "USD",
"blockNumber": null,
"blockHash": null,
"hash": null,
"confirmations": 0,
"confirmed": false,
"gasPrice": null,
"gasUsed": null,
"gasFee": null,
"status": "PROCESSING",
"type": "DEPOSIT",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "testnet",
"chainId": 11155111,
"metadata": {
"user_id": 1
},
"createdAt": "2024-10-23T11:19:58.451Z",
"updatedAt": "2024-10-23T11:19:58.451Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": {
"id": "0a69c48a-6c6f-422c-bd6a-70de3306a3ac",
"address": "0xe1037B45b48390285e5067424053fa35c478296b",
"name": "Customer 1",
"isActive": true,
"type": "INTERNAL",
"derivationPath": "m/44'/60'/0'/0/87",
"metadata": {
"user_id": 1
},
"configurations": {
"aml": {
"status": "success",
"message": "Address is not sanctioned",
"provider": "ofac"
},
"showPrivateKey": false,
"disableAutoSweep": false,
"enableGaslessWithdraw": false
},
"network": "testnet",
"createdAt": "2024-10-23T11:13:40.446Z",
"updatedAt": "2024-10-23T11:13:40.446Z"
},
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null
}
}
{
"event": "withdraw.success",
"data": {
"id": "081d6315-159f-4c38-b02a-c4708836c5bd",
"reference": "y8lvy55cK",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"amount": "10",
"amountPaid": "10",
"fee": null,
"currency": "USD",
"blockNumber": 6928833,
"blockHash": "0x0a3ff5314f333ae0b48a66f96c58731c434af5d8a26b107103b15d0b9d6f817d",
"hash": "0xded90bc7f3d98f5ff0c3a97f711717192e83e01d89ac1ff4483ae6fd9d229e6d",
"confirmations": 6,
"confirmed": true,
"gasPrice": "2166177614",
"gasUsed": "45047",
"gasFee": "0.000097579802977858",
"status": "SUCCESS",
"type": "WITHDRAW",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "testnet",
"chainId": 11155111,
"metadata": null,
"createdAt": "2024-10-23T11:33:58.765Z",
"updatedAt": "2024-10-23T11:35:16.015Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": null,
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null,
"networkFee": {
"amount": "0.000097579802977858",
"symbol": "ETH",
"amountUsd": "0.253722"
},
"networkFees": [
{
"operation": "WITHDRAW",
"feeSource": "ADDRESS",
"status": "CONFIRMED",
"txHash": "0xded90bc7f3d98f5ff0c3a97f711717192e83e01d89ac1ff4483ae6fd9d229e6d",
"feeNative": "0.000097579802977858",
"feeUsd": "0.253722",
"nativeRateUsd": "2600.15",
"createdAt": "2024-10-23T11:35:16.062Z"
}
]
}
}
{
"event": "offramp.processing",
"data": {
"id": "d2b985da-7f7e-4494-a6bc-0e675d50eed3",
"reference": "EVF2g9X70Sj4hoX3ma8l",
"senderAddress": "0x969838345E5cd5F755DfcADB57e72F5d23271e48",
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "0.5",
"amountPaid": "0.5",
"amountUSD": "0.4998",
"rateUSD": "0.9996",
"fee": "0",
"feeUSD": null,
"currency": "USD",
"toCurrency": "NGN",
"status": "PROCESSING",
"processingStatus": "SUCCESS",
"processingProviderReference": "0x25003cb8356c92e3c296e7dd384ead681c5f57fb6182760fa4178750464ffd35",
"processingReason": null,
"type": "OFFRAMP",
"createdChannel": "api",
"network": "mainnet",
"chainId": 8453,
"metadata": null,
"toAmount": "711.21",
"rate": "1422.42",
"beneficiary": {
"id": "4dd8d16e-8550-4f51-84a1-60df9c608c5d",
"name": "JOHN DOE",
"type": "FIAT",
"isActive": true,
"reference": "d7dd5c7cf57acb5e2ff62eb23bceaca84d5dad6e62fec3d3836f20cfa1ea735c",
"institutionIdentifier": "OPAYNGPC",
"institutionAccountIdentifier": "8030303030",
"currency": "NGN"
}
}
}
{
"event": "signed.success",
"data": {
"id": "c69e421b-c90d-4a34-abeb-307ddb02e0a2",
"reference": "2mT7rWfrn7",
"senderAddress": "0x48197e643FfE94C045E96268c3d749eFd5Cf62d6",
"recipientAddress": "0x3fF694f48d28006D5cBF3f8655aA4700479684b0",
"tokenAddress": "0x0000000000000000000000000000000000000000",
"amount": "0.001",
"amountPaid": "0.001",
"amountUSD": "0.80577",
"rateUSD": "805.77",
"fee": null,
"feeHash": null,
"currency": "BNB",
"toCurrency": null,
"blockNumber": null,
"blockHash": null,
"hash": "0x27fd26f4edc0792424ec712cea093e1f4fab1558d1162988246e975729f3d867",
"confirmations": null,
"confirmed": true,
"gasPrice": null,
"gasUsed": null,
"gasFee": null,
"status": "SUCCESS",
"type": "SIGNED",
"note": null,
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "testnet",
"chainId": null,
"metadata": null,
"toAmount": null,
"signedTransaction": "0xf86b078407270e00825208943ff694f48d28006d5cbf3f8655aa4700479684b087038d7ea4c680008081e6a0241a95edfae9702b92ce6fa63cf2d67e4023289639be31f5e7e598ceea3f57fca03a5a28366728989ada7c59bd60625711cb0be88dc8a378c9323b37b81ee92a59",
"rate": null,
"createdAt": "2025-08-11T16:54:11.441Z",
"updatedAt": "2025-08-11T16:54:11.441Z",
"asset": {
"id": "4250e3a2-29b7-48ed-9aad-2b5dff38e361",
"name": "Binance Coin",
"symbol": "BNB",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"standard": null,
"currency": "BNB",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"network": "testnet",
"isNative": true,
"createdAt": "2025-08-01T12:36:47.204Z",
"updatedAt": "2025-08-01T12:36:47.204Z"
},
"address": null,
"blockchain": {
"id": "3953d0bc-4d9c-4dab-9814-bc204ea86028",
"name": "BNB smart chain",
"symbol": "bnb",
"slug": "bnb-smart-chain",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"isActive": true,
"tokenStandard": "BEP20",
"createdAt": "2025-08-01T12:36:47.166Z",
"updatedAt": "2025-08-01T12:36:47.166Z"
},
"wallet": {
"id": "acff0ed8-0592-4942-848a-6d0a3559c279",
"name": "BNB Wallet",
"description": "bnb",
"address": "0x48197e643FfE94C045E96268c3d749eFd5Cf62d6",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"configurations": {
"withdrawal": {
"gasless": {
"isActive": false,
"operator": "gt",
"threshold": 0
}
},
"autoSweeping": {
"isActive": false,
"threshold": 0
}
},
"createdAt": "2025-08-01T17:25:56.817Z",
"updatedAt": "2025-08-04T15:24:38.130Z",
"business": {
"id": "2773e655-7995-4a8a-a727-c58c87f521b2",
"name": "Business",
"sector": "embedded finance & banking-as-a-service (baas)",
"userId": "33cf150f-c81f-4dc5-92fc-1fd4155e644b",
"status": "ACTIVE",
"pipedriveOrganizationId": "507",
"createdAt": "2025-08-01T17:23:21.996Z",
"updatedAt": "2025-08-01T17:23:22.780Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": null,
"toBlockchain": null,
"toWallet": null
}
}
{
"event": "signed.failed",
"data": {
"id": "c69e421b-c90d-4a34-abeb-307ddb02e0a2",
"reference": "2mT7rWfrn7",
"senderAddress": "0x48197e643FfE94C045E96268c3d749eFd5Cf62d6",
"recipientAddress": "0x3fF694f48d28006D5cBF3f8655aA4700479684b0",
"tokenAddress": "0x0000000000000000000000000000000000000000",
"amount": "0.001",
"amountPaid": "0.001",
"amountUSD": "0.80577",
"rateUSD": "805.77",
"fee": null,
"feeHash": null,
"currency": "BNB",
"toCurrency": null,
"blockNumber": null,
"blockHash": null,
"hash": "0x27fd26f4edc0792424ec712cea093e1f4fab1558d1162988246e975729f3d867",
"confirmations": null,
"confirmed": true,
"gasPrice": null,
"gasUsed": null,
"gasFee": null,
"status": "FAILED",
"type": "SIGNED",
"note": null,
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "testnet",
"chainId": null,
"metadata": null,
"toAmount": null,
"rate": null,
"createdAt": "2025-08-11T16:54:11.441Z",
"updatedAt": "2025-08-11T16:54:11.441Z",
"asset": {
"id": "4250e3a2-29b7-48ed-9aad-2b5dff38e361",
"name": "Binance Coin",
"symbol": "BNB",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"standard": null,
"currency": "BNB",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"network": "testnet",
"isNative": true,
"createdAt": "2025-08-01T12:36:47.204Z",
"updatedAt": "2025-08-01T12:36:47.204Z"
},
"address": null,
"blockchain": {
"id": "3953d0bc-4d9c-4dab-9814-bc204ea86028",
"name": "BNB smart chain",
"symbol": "bnb",
"slug": "bnb-smart-chain",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"isActive": true,
"tokenStandard": "BEP20",
"createdAt": "2025-08-01T12:36:47.166Z",
"updatedAt": "2025-08-01T12:36:47.166Z"
},
"wallet": {
"id": "acff0ed8-0592-4942-848a-6d0a3559c279",
"name": "BNB Wallet",
"description": "bnb",
"address": "0x48197e643FfE94C045E96268c3d749eFd5Cf62d6",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"configurations": {
"withdrawal": {
"gasless": {
"isActive": false,
"operator": "gt",
"threshold": 0
}
},
"autoSweeping": {
"isActive": false,
"threshold": 0
}
},
"createdAt": "2025-08-01T17:25:56.817Z",
"updatedAt": "2025-08-04T15:24:38.130Z",
"business": {
"id": "2773e655-7995-4a8a-a727-c58c87f521b2",
"name": "Business",
"sector": "embedded finance & banking-as-a-service (baas)",
"userId": "33cf150f-c81f-4dc5-92fc-1fd4155e644b",
"status": "ACTIVE",
"pipedriveOrganizationId": "507",
"createdAt": "2025-08-01T17:23:21.996Z",
"updatedAt": "2025-08-01T17:23:22.780Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": null,
"toBlockchain": null,
"toWallet": null
}
}
{
"event": "swap.success",
"data": {
"id": "99a2b490-0798-460b-9265-4d99f182fe52",
"reference": "ZMxcorDGtf",
"senderAddress": "0xAA2d5fd5e7bE97E214f8565DCf3a4862719960b5",
"recipientAddress": "0xb55c054D8eE75224E1033e6eC775B4F62D942b43",
"tokenAddress": null,
"amount": "5",
"amountPaid": null,
"fee": null,
"currency": null,
"blockNumber": 28888586,
"blockHash": null,
"hash": "0x4cfaf5b9526d2ef7df576844e8ea8739f523e9166c9e0a73a574e663270cd750",
"confirmations": null,
"confirmed": true,
"gasPrice": null,
"gasUsed": null,
"gasFee": "0.000000183414563983",
"status": "SUCCESS",
"type": "SWAP",
"note": null,
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": true,
"assetSweptAt": "2025-04-13T17:48:58.610Z",
"assetSweptGasFee": "0.000000223941716904",
"assetSweptHash": "0xaf92bb24dc9d3bd6c2ec6245a41c2461291513fdc7f748c843c6576e484522eb",
"assetSweptSenderAddress": "0xeeeeee9eC4769A09a76A83C7bC42b185872860eE",
"assetSweptRecipientAddress": "0xb55c054D8eE75224E1033e6eC775B4F62D942b43",
"assetSweptAmount": "4.965214",
"reason": null,
"network": "mainnet",
"chainId": null,
"metadata": null,
"toAmount": "4.965398",
"rate": "0.9930796000000001",
"createdAt": "2025-04-13T17:48:36.689Z",
"updatedAt": "2025-04-13T17:48:58.611Z",
"asset": {
"id": "3a18a31a-86ad-44a0-9b9c-cdb69d535c64",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"standard": null,
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "mainnet",
"isNative": false,
"createdAt": "2024-06-08T12:59:11.303Z",
"updatedAt": "2024-06-09T10:39:24.429Z"
},
"address": null,
"blockchain": {
"id": "28a730d3-211b-40f7-bb8f-dd589dcc738e",
"name": "base",
"symbol": "eth",
"slug": "base",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2024-06-07T11:09:56.586Z",
"updatedAt": "2024-11-26T15:26:21.825Z"
},
"wallet": {
"id": "6b741fbc-8a9c-48a1-92b0-ae7b52de8b9e",
"name": "Base Mainnet Wallet",
"description": "This is base mainnet wallet",
"address": "0xAA2d5fd5e7bE97E214f8565DCf3a4862719960b5",
"derivationPath": "m/44'/60'/0'/0/41",
"isActive": true,
"status": "ACTIVE",
"network": "mainnet",
"configurations": {
"withdrawal": {
"gasless": {
"isActive": true
}
},
"autoSweeping": {
"isActive": true
}
},
"createdAt": "2024-06-15T02:53:23.409Z",
"updatedAt": "2025-04-01T21:27:57.022Z",
"business": {
"id": "a109729b-3b97-4fb3-a90a-769a0cbf6a25",
"name": "Blockradar",
"sector": "infrastructure",
"status": "ACTIVE",
"createdAt": "2023-04-28T17:40:18.541Z",
"updatedAt": "2024-06-13T19:57:03.064Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": {
"id": "065ff109-9d31-4c7d-bd0e-13314d2ed5f6",
"name": "Tether USD",
"symbol": "USDT",
"decimals": 6,
"address": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
"standard": null,
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800082/crypto-assets/tether-usdt-logo_wx7rwh.png",
"network": "mainnet",
"isNative": false,
"createdAt": "2024-10-08T13:22:13.802Z",
"updatedAt": "2024-10-08T13:22:13.802Z"
},
"toBlockchain": {
"id": "a5e8779c-9f8d-4a67-839d-c278eebf87f1",
"name": "optimism",
"symbol": "eth",
"slug": "optimism",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/optimism-ethereum-op-logo_h62d1i.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2024-10-08T13:04:21.649Z",
"updatedAt": "2024-11-26T15:26:23.105Z"
},
"toWallet": {
"id": "d2f9a93c-e8d6-4768-bc09-be4750e7eacb",
"name": "Optimism Mainnet Wallet",
"description": "This is optimism mainnet master wallet",
"address": "0xb55c054D8eE75224E1033e6eC775B4F62D942b43",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "mainnet",
"configurations": null,
"createdAt": "2024-11-23T07:31:57.897Z",
"updatedAt": "2024-11-24T05:40:46.225Z"
}
}
}
{
"event": "deposit.swept.success",
"data": {
"id": "6d2f9646-cae4-48a5-8bfe-1f9379868d4f",
"reference": "LSk5RLfSrR",
"senderAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"recipientAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"amount": "10.0",
"amountPaid": "10.0",
"fee": null,
"currency": "USD",
"blockNumber": 6928760,
"blockHash": "0x5f2e0ed782752b9559e7a3d89c0fb9f6706e4866e74ba7a434cf933bb3f02a2b",
"hash": "0x94c733496df59c15e5a489f20374096bba31166a8e149ceea4d410e3e5821357",
"confirmations": 6,
"confirmed": true,
"gasPrice": "1201381238",
"gasUsed": "62159",
"gasFee": "0.000074676656372842",
"status": "SUCCESS",
"type": "DEPOSIT",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": true,
"assetSweptAt": "2024-10-23T11:28:52.848Z",
"assetSweptGasFee": "0.000074597672027028",
"assetSweptHash": "0xe5ae1c025b81ff83a03189fad1c0f5bd502cd0b394bed6765603f9ba05bfe147",
"assetSweptSenderAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"assetSweptRecipientAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"assetSweptAmount": "10.0",
"reason": "Funds swept successfully",
"network": "testnet",
"chainId": 11155111,
"metadata": {
"user_id": 1
},
"createdAt": "2024-10-23T11:19:58.451Z",
"updatedAt": "2024-10-23T11:28:52.889Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": {
"id": "0a69c48a-6c6f-422c-bd6a-70de3306a3ac",
"address": "0xe1037B45b48390285e5067424053fa35c478296b",
"name": "Customer 1",
"isActive": true,
"type": "INTERNAL",
"derivationPath": "m/44'/60'/0'/0/87",
"metadata": {
"user_id": 1
},
"configurations": {
"aml": {
"status": "success",
"message": "Address is not sanctioned",
"provider": "ofac"
},
"showPrivateKey": false,
"disableAutoSweep": false,
"enableGaslessWithdraw": false
},
"network": "testnet",
"createdAt": "2024-10-23T11:13:40.446Z",
"updatedAt": "2024-10-23T11:13:40.446Z"
},
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null,
"networkFee": {
"amount": "0.000095597672027028",
"symbol": "ETH",
"amountUsd": "0.248568"
},
"networkFees": [
{
"operation": "GAS_FUNDING",
"feeSource": "MASTER_WALLET",
"status": "CONFIRMED",
"txHash": "0x3f8d21c6a9b1e04f7c2d85e9410ab6c3d7f52e98014db67aa20c1e5f4b9d7e31",
"feeNative": "0.000021",
"feeUsd": "0.054603",
"nativeRateUsd": "2600.15",
"createdAt": "2024-10-23T11:28:31.204Z"
},
{
"operation": "SWEEP",
"feeSource": "MASTER_WALLET",
"status": "CONFIRMED",
"txHash": "0xe5ae1c025b81ff83a03189fad1c0f5bd502cd0b394bed6765603f9ba05bfe147",
"feeNative": "0.000074597672027028",
"feeUsd": "0.193965",
"nativeRateUsd": "2600.15",
"createdAt": "2024-10-23T11:28:52.901Z"
}
]
}
}
{
"event": "withdraw.failed",
"data": {
"id": "081d6315-159f-4c38-b02a-c4708836c5bd",
"reference": "y8lvy55cK",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"amount": "10",
"amountPaid": "10",
"fee": null,
"currency": "USD",
"blockNumber": 6928833,
"blockHash": "0x0a3ff5314f333ae0b48a66f96c58731c434af5d8a26b107103b15d0b9d6f817d",
"hash": "0xded90bc7f3d98f5ff0c3a97f711717192e83e01d89ac1ff4483ae6fd9d229e6d",
"confirmations": 6,
"confirmed": true,
"gasPrice": "2166177614",
"gasUsed": "45047",
"gasFee": "0.000097579802977858",
"status": "FAILED",
"type": "WITHDRAW",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": "Insufficient funds to pay for network fee sweeping assets",
"network": "testnet",
"chainId": 11155111,
"metadata": null,
"createdAt": "2024-10-23T11:33:58.765Z",
"updatedAt": "2024-10-23T11:35:16.015Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": null,
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null,
"networkFee": {
"amount": "0.000097579802977858",
"symbol": "ETH",
"amountUsd": "0.253722"
},
"networkFees": [
{
"operation": "WITHDRAW",
"feeSource": "ADDRESS",
"status": "CONFIRMED",
"txHash": "0xded90bc7f3d98f5ff0c3a97f711717192e83e01d89ac1ff4483ae6fd9d229e6d",
"feeNative": "0.000097579802977858",
"feeUsd": "0.253722",
"nativeRateUsd": "2600.15",
"createdAt": "2024-10-23T11:35:16.062Z"
}
]
}
}
{
"event": "swap.failed",
"data": {
"id": "99a2b490-0798-460b-9265-4d99f182fe52",
"reference": "ZMxcorDGtf",
"senderAddress": "0xAA2d5fd5e7bE97E214f8565DCf3a4862719960b5",
"recipientAddress": "0xb55c054D8eE75224E1033e6eC775B4F62D942b43",
"tokenAddress": null,
"amount": "5",
"amountPaid": null,
"fee": null,
"currency": null,
"blockNumber": 28888586,
"blockHash": null,
"hash": "0x4cfaf5b9526d2ef7df576844e8ea8739f523e9166c9e0a73a574e663270cd750",
"confirmations": null,
"confirmed": true,
"gasPrice": null,
"gasUsed": null,
"gasFee": "0.000000183414563983",
"status": "FAILED",
"type": "SWAP",
"note": null,
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": true,
"assetSweptAt": "2025-04-13T17:48:58.610Z",
"assetSweptGasFee": "0.000000223941716904",
"assetSweptHash": "0xaf92bb24dc9d3bd6c2ec6245a41c2461291513fdc7f748c843c6576e484522eb",
"assetSweptSenderAddress": "0xeeeeee9eC4769A09a76A83C7bC42b185872860eE",
"assetSweptRecipientAddress": "0xb55c054D8eE75224E1033e6eC775B4F62D942b43",
"assetSweptAmount": "4.965214",
"reason": "Insufficient liquidity for swap",
"network": "mainnet",
"chainId": null,
"metadata": null,
"toAmount": "4.965398",
"rate": "0.9930796000000001",
"createdAt": "2025-04-13T17:48:36.689Z",
"updatedAt": "2025-04-13T17:48:58.611Z",
"asset": {
"id": "3a18a31a-86ad-44a0-9b9c-cdb69d535c64",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"standard": null,
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "mainnet",
"isNative": false,
"createdAt": "2024-06-08T12:59:11.303Z",
"updatedAt": "2024-06-09T10:39:24.429Z"
},
"address": null,
"blockchain": {
"id": "28a730d3-211b-40f7-bb8f-dd589dcc738e",
"name": "base",
"symbol": "eth",
"slug": "base",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2024-06-07T11:09:56.586Z",
"updatedAt": "2024-11-26T15:26:21.825Z"
},
"wallet": {
"id": "6b741fbc-8a9c-48a1-92b0-ae7b52de8b9e",
"name": "Base Mainnet Wallet",
"description": "This is base mainnet wallet",
"address": "0xAA2d5fd5e7bE97E214f8565DCf3a4862719960b5",
"derivationPath": "m/44'/60'/0'/0/41",
"isActive": true,
"status": "ACTIVE",
"network": "mainnet",
"configurations": {
"withdrawal": {
"gasless": {
"isActive": true
}
},
"autoSweeping": {
"isActive": true
}
},
"createdAt": "2024-06-15T02:53:23.409Z",
"updatedAt": "2025-04-01T21:27:57.022Z",
"business": {
"id": "a109729b-3b97-4fb3-a90a-769a0cbf6a25",
"name": "Blockradar",
"sector": "infrastructure",
"status": "ACTIVE",
"createdAt": "2023-04-28T17:40:18.541Z",
"updatedAt": "2024-06-13T19:57:03.064Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": {
"id": "065ff109-9d31-4c7d-bd0e-13314d2ed5f6",
"name": "Tether USD",
"symbol": "USDT",
"decimals": 6,
"address": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
"standard": null,
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800082/crypto-assets/tether-usdt-logo_wx7rwh.png",
"network": "mainnet",
"isNative": false,
"createdAt": "2024-10-08T13:22:13.802Z",
"updatedAt": "2024-10-08T13:22:13.802Z"
},
"toBlockchain": {
"id": "a5e8779c-9f8d-4a67-839d-c278eebf87f1",
"name": "optimism",
"symbol": "eth",
"slug": "optimism",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/optimism-ethereum-op-logo_h62d1i.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2024-10-08T13:04:21.649Z",
"updatedAt": "2024-11-26T15:26:23.105Z"
},
"toWallet": {
"id": "d2f9a93c-e8d6-4768-bc09-be4750e7eacb",
"name": "Optimism Mainnet Wallet",
"description": "This is optimism mainnet master wallet",
"address": "0xb55c054D8eE75224E1033e6eC775B4F62D942b43",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "mainnet",
"configurations": null,
"createdAt": "2024-11-23T07:31:57.897Z",
"updatedAt": "2024-11-24T05:40:46.225Z"
}
}
}
{
"event": "deposit.failed",
"data": {
"id": "6d2f9646-cae4-48a5-8bfe-1f9379868d4f",
"reference": "LSk5RLfSrR",
"senderAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"recipientAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"amount": "10.0",
"amountPaid": "10.0",
"fee": null,
"currency": "USD",
"blockNumber": 6928760,
"blockHash": "0x5f2e0ed782752b9559e7a3d89c0fb9f6706e4866e74ba7a434cf933bb3f02a2b",
"hash": "0x94c733496df59c15e5a489f20374096bba31166a8e149ceea4d410e3e5821357",
"confirmations": 6,
"confirmed": true,
"gasPrice": "1201381238",
"gasUsed": "62159",
"gasFee": "0.000074676656372842",
"status": "FAILED",
"type": "DEPOSIT",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "failed",
"message": "Address is sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": "AML screening failed - sanctioned address",
"network": "testnet",
"chainId": 11155111,
"metadata": {
"user_id": 1
},
"createdAt": "2024-10-23T11:19:58.451Z",
"updatedAt": "2024-10-23T11:19:58.451Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": {
"id": "0a69c48a-6c6f-422c-bd6a-70de3306a3ac",
"address": "0xe1037B45b48390285e5067424053fa35c478296b",
"name": "Customer 1",
"isActive": true,
"type": "INTERNAL",
"derivationPath": "m/44'/60'/0'/0/87",
"metadata": {
"user_id": 1
},
"configurations": {
"aml": {
"status": "failed",
"message": "Address is sanctioned",
"provider": "ofac"
},
"showPrivateKey": false,
"disableAutoSweep": false,
"enableGaslessWithdraw": false
},
"network": "testnet",
"createdAt": "2024-10-23T11:13:40.446Z",
"updatedAt": "2024-10-23T11:13:40.446Z"
},
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null
}
}
{
"event": "deposit.swept.failed",
"data": {
"id": "6d2f9646-cae4-48a5-8bfe-1f9379868d4f",
"reference": "LSk5RLfSrR",
"senderAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"recipientAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"amount": "10.0",
"amountPaid": "10.0",
"fee": null,
"currency": "USD",
"blockNumber": 6928760,
"blockHash": "0x5f2e0ed782752b9559e7a3d89c0fb9f6706e4866e74ba7a434cf933bb3f02a2b",
"hash": "0x94c733496df59c15e5a489f20374096bba31166a8e149ceea4d410e3e5821357",
"confirmations": 6,
"confirmed": true,
"gasPrice": "1201381238",
"gasUsed": "62159",
"gasFee": "0.000074676656372842",
"status": "SUCCESS",
"type": "DEPOSIT",
"note": null,
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": false,
"assetSweptAt": null,
"assetSweptGasFee": "0.000074597672027028",
"assetSweptHash": "0xe5ae1c025b81ff83a03189fad1c0f5bd502cd0b394bed6765603f9ba05bfe147",
"assetSweptSenderAddress": "0xe1037B45b48390285e5067424053fa35c478296b",
"assetSweptRecipientAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"assetSweptAmount": "10.0",
"reason": "Insufficient funds to pay for network fee sweeping assets",
"network": "testnet",
"chainId": 11155111,
"metadata": {
"user_id": 1
},
"createdAt": "2024-10-23T11:19:58.451Z",
"updatedAt": "2024-10-23T11:28:52.889Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": {
"id": "0a69c48a-6c6f-422c-bd6a-70de3306a3ac",
"address": "0xe1037B45b48390285e5067424053fa35c478296b",
"name": "Customer 1",
"isActive": true,
"type": "INTERNAL",
"derivationPath": "m/44'/60'/0'/0/87",
"metadata": {
"user_id": 1
},
"configurations": {
"aml": {
"status": "success",
"message": "Address is not sanctioned",
"provider": "ofac"
},
"showPrivateKey": false,
"disableAutoSweep": false,
"enableGaslessWithdraw": false
},
"network": "testnet",
"createdAt": "2024-10-23T11:13:40.446Z",
"updatedAt": "2024-10-23T11:13:40.446Z"
},
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum testnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null
}
}
{
"event": "staking.success",
"data": {
"id": "7e8f9a2b-3c4d-5e6f-7a8b-9c0d1e2f3a4b",
"reference": "STK123456",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0xStakingContractAddress",
"amount": "100.0",
"amountPaid": "100.0",
"fee": "0.5",
"currency": "USD",
"blockNumber": 6928900,
"blockHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"confirmations": 12,
"confirmed": true,
"gasPrice": "2000000000",
"gasUsed": "150000",
"gasFee": "0.0003",
"status": "SUCCESS",
"type": "STAKING",
"note": "Staking 100 USDC",
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "mainnet",
"chainId": 1,
"metadata": {
"staking_pool": "USDC_POOL",
"apy": "5.2"
},
"createdAt": "2024-10-23T12:00:00.000Z",
"updatedAt": "2024-10-23T12:05:00.000Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0xA0b86a33E6441b8c4C8C8C8C8C8C8C8C8C8C8C8C",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "mainnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": null,
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum mainnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "mainnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null
}
}
{
"event": "custom-smart-contract.success",
"data": {
"id": "9a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
"reference": "CSC789012",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0xCustomContractAddress",
"amount": "50.0",
"amountPaid": "50.0",
"fee": "0.25",
"currency": "USD",
"blockNumber": 6929000,
"blockHash": "0x9876543210fedcba9876543210fedcba9876543210fedcba9876543210fedcba",
"hash": "0xfedcba0987654321fedcba0987654321fedcba0987654321fedcba0987654321",
"confirmations": 8,
"confirmed": true,
"gasPrice": "2500000000",
"gasUsed": "100000",
"gasFee": "0.00025",
"status": "SUCCESS",
"type": "CUSTOM_SMART_CONTRACT",
"note": "Custom contract interaction",
"amlScreening": {
"provider": "ofac",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": null,
"network": "mainnet",
"chainId": 1,
"metadata": {
"contract_function": "transfer",
"contract_address": "0xCustomContractAddress",
"function_params": {
"to": "0xRecipientAddress",
"amount": "50000000"
}
},
"createdAt": "2024-10-23T13:00:00.000Z",
"updatedAt": "2024-10-23T13:02:00.000Z",
"asset": {
"id": "fe04a28c-c615-4e41-8eda-f84c862864f5",
"name": "USDC Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0xA0b86a33E6441b8c4C8C8C8C8C8C8C8C8C8C8C8C",
"standard": "ERC20",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "mainnet",
"createdAt": "2024-05-14T11:53:33.682Z",
"updatedAt": "2024-06-14T22:32:12.589Z"
},
"address": null,
"blockchain": {
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"name": "ethereum",
"symbol": "eth",
"slug": "ethereum",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"isActive": true,
"tokenStandard": "ERC20",
"createdAt": "2024-05-14T11:53:33.095Z",
"updatedAt": "2024-06-14T22:32:11.983Z"
},
"wallet": {
"id": "d236a191-c1d4-423c-a439-54ce6542ca41",
"name": "Ethereum Master Wallet",
"description": "This is ethereum mainnet master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "mainnet",
"createdAt": "2024-08-22T09:48:56.322Z",
"updatedAt": "2024-10-23T10:52:34.332Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Test One Inc",
"sector": "Fintech",
"status": "ACTIVE",
"createdAt": "2024-08-22T09:28:37.522Z",
"updatedAt": "2024-08-22T09:28:37.522Z"
}
},
"beneficiary": null
}
}
{
"event": "gateway-deposit.success",
"data": {
"id": "6f3836f2-3d00-40aa-a85b-e34e989b4c82",
"reference": "IsrFHR26J",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"tokenAddress": "0x5425890298aed601595a70AB815c96711a31Bc65",
"amount": "5",
"amountPaid": "5",
"amountUSD": "5",
"rateUSD": "1",
"fee": null,
"feeHash": null,
"currency": "USD",
"toCurrency": null,
"blockNumber": 44850047,
"blockHash": "0x4fc994c63ef06bbaf4a157aba4e86dab6f83344cad3b8bf1812b50d6e775c0be",
"hash": "0x9dedb492e2efe226be21943d4a096d59a4a977e925a5bd807793244d97d5daec",
"confirmations": 6,
"confirmed": true,
"gasPrice": "2",
"gasUsed": "73875",
"gasFee": "0.00000000000014775",
"status": "SUCCESS",
"type": "GATEWAY_DEPOSIT",
"note": "Deposit of 5 USDC to gateway smart wallet 0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": "Balance Before: 8.2 USDC | Network Fee: 2.99004e-13 USDC | Gasless: false",
"network": "testnet",
"chainId": 43113,
"metadata": null,
"toAmount": null,
"signedTransaction": null,
"rate": null,
"createdAt": "2025-08-17T02:45:32.188Z",
"updatedAt": "2025-08-17T02:45:47.946Z",
"asset": {
"id": "e097a26e-0df5-4610-95d3-95f6cd1aa5c6",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x5425890298aed601595a70AB815c96711a31Bc65",
"standard": null,
"currency": "USD",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"isNative": false,
"createdAt": "2025-06-13T22:38:16.058Z",
"updatedAt": "2025-06-13T22:38:16.058Z"
},
"address": null,
"blockchain": {
"id": "359c81bc-04ac-47a3-be96-775a7d7cae05",
"name": "avalanche",
"symbol": "avax",
"slug": "avalanche",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1749742059/crypto-assets/avalanche-avax-logo_jitelk.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2025-06-13T22:30:37.053Z",
"updatedAt": "2025-06-13T22:30:37.053Z"
},
"wallet": {
"id": "79c7a18a-07be-4c1f-a046-94bf4964f392",
"name": "Avalanche",
"description": "Avalanche Master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"configurations": {
"withdrawal": {
"gasless": {
"isActive": false,
"operator": "gt",
"threshold": 0
}
},
"autoSweeping": {
"isActive": true,
"threshold": 0
}
},
"createdAt": "2025-06-13T22:41:28.977Z",
"updatedAt": "2025-06-13T22:41:28.977Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Blockradar",
"sector": "infrastructure",
"userId": "ad0ad16d-dc56-48e9-85da-a86adabff48e",
"status": "ACTIVE",
"pipedriveOrganizationId": "401",
"createdAt": "2024-08-22T15:28:37.522Z",
"updatedAt": "2025-06-25T21:39:16.152Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": null,
"toBlockchain": null,
"toWallet": null
}
}
{
"event": "gateway-deposit.failed",
"data": {
"id": "6f3836f2-3d00-40aa-a85b-e34e989b4c82",
"reference": "IsrFHR26J",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"tokenAddress": "0x5425890298aed601595a70AB815c96711a31Bc65",
"amount": "5",
"amountPaid": "5",
"amountUSD": "5",
"rateUSD": "1",
"fee": null,
"feeHash": null,
"currency": "USD",
"toCurrency": null,
"blockNumber": 44850047,
"blockHash": "0x4fc994c63ef06bbaf4a157aba4e86dab6f83344cad3b8bf1812b50d6e775c0be",
"hash": "0x9dedb492e2efe226be21943d4a096d59a4a977e925a5bd807793244d97d5daec",
"confirmations": 6,
"confirmed": true,
"gasPrice": "2",
"gasUsed": "73875",
"gasFee": "0.00000000000014775",
"status": "FAILED",
"type": "GATEWAY_DEPOSIT",
"note": "Deposit of 5 USDC to gateway smart wallet 0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": "Balance Before: 8.2 USDC | Network Fee: 2.99004e-13 USDC | Gasless: false",
"network": "testnet",
"chainId": 43113,
"metadata": null,
"toAmount": null,
"signedTransaction": null,
"rate": null,
"createdAt": "2025-08-17T02:45:32.188Z",
"updatedAt": "2025-08-17T02:45:47.946Z",
"asset": {
"id": "e097a26e-0df5-4610-95d3-95f6cd1aa5c6",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x5425890298aed601595a70AB815c96711a31Bc65",
"standard": null,
"currency": "USD",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"isNative": false,
"createdAt": "2025-06-13T22:38:16.058Z",
"updatedAt": "2025-06-13T22:38:16.058Z"
},
"address": null,
"blockchain": {
"id": "359c81bc-04ac-47a3-be96-775a7d7cae05",
"name": "avalanche",
"symbol": "avax",
"slug": "avalanche",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1749742059/crypto-assets/avalanche-avax-logo_jitelk.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2025-06-13T22:30:37.053Z",
"updatedAt": "2025-06-13T22:30:37.053Z"
},
"wallet": {
"id": "79c7a18a-07be-4c1f-a046-94bf4964f392",
"name": "Avalanche",
"description": "Avalanche Master wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"configurations": {
"withdrawal": {
"gasless": {
"isActive": false,
"operator": "gt",
"threshold": 0
}
},
"autoSweeping": {
"isActive": true,
"threshold": 0
}
},
"createdAt": "2025-06-13T22:41:28.977Z",
"updatedAt": "2025-06-13T22:41:28.977Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Blockradar",
"sector": "infrastructure",
"userId": "ad0ad16d-dc56-48e9-85da-a86adabff48e",
"status": "ACTIVE",
"pipedriveOrganizationId": "401",
"createdAt": "2024-08-22T15:28:37.522Z",
"updatedAt": "2025-06-25T21:39:16.152Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": null,
"toBlockchain": null,
"toWallet": null
}
}
{
"event": "gateway-withdraw.success",
"data": {
"id": "38e5be52-5ffc-40f8-8b9e-85669faaa11d",
"reference": "8TWf2C2TjR",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"tokenAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "1",
"amountPaid": "1",
"amountUSD": "1",
"rateUSD": "1",
"fee": null,
"feeHash": null,
"currency": "USD",
"toCurrency": null,
"blockNumber": 29804083,
"blockHash": "0xbd3da265118ef20c2ddcc4c81753bd0be18460c52091a54ab4df38820d9c8a95",
"hash": "0x4528d4d230df36aa9b100f7f902ecab266adbc87c8490748e6b8e234c1b293b6",
"confirmations": 6,
"confirmed": true,
"gasPrice": "1200063",
"gasUsed": "135281",
"gasFee": "0.000000162345722703",
"status": "SUCCESS",
"type": "GATEWAY_WITHDRAW",
"note": "Withdrawal of 1 USDC from gateway smart wallet 0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": "Balance Before: 6.749202 USDC | Network Fee: 0.01 USDC | Gasless: false",
"network": "testnet",
"chainId": 84532,
"metadata": null,
"toAmount": null,
"signedTransaction": null,
"rate": null,
"createdAt": "2025-08-17T02:33:39.424Z",
"updatedAt": "2025-08-17T02:34:26.238Z",
"asset": {
"id": "0927dc05-7d4e-4c0a-82c6-98ceb170ab84",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"standard": null,
"currency": "USD",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"isNative": false,
"createdAt": "2024-05-27T14:31:19.442Z",
"updatedAt": "2025-04-17T04:50:20.019Z"
},
"address": null,
"blockchain": {
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"name": "base",
"symbol": "eth",
"slug": "base",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2024-05-27T14:31:14.966Z",
"updatedAt": "2024-11-26T20:04:13.945Z"
},
"wallet": {
"id": "e17dea25-6c01-4b3a-a4ae-51f411bf69cd",
"name": "Base Wallet",
"description": "This is Base wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"configurations": null,
"createdAt": "2024-08-22T16:05:46.167Z",
"updatedAt": "2024-08-22T16:05:46.167Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Blockradar",
"sector": "infrastructure",
"userId": "ad0ad16d-dc56-48e9-85da-a86adabff48e",
"status": "ACTIVE",
"pipedriveOrganizationId": "401",
"createdAt": "2024-08-22T15:28:37.522Z",
"updatedAt": "2025-06-25T21:39:16.152Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": null,
"toBlockchain": null,
"toWallet": null
}
}
{
"event": "gateway-withdraw.failed",
"data": {
"id": "38e5be52-5ffc-40f8-8b9e-85669faaa11d",
"reference": "8TWf2C2TjR",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"recipientAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"tokenAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "1",
"amountPaid": "1",
"amountUSD": "1",
"rateUSD": "1",
"fee": null,
"feeHash": null,
"currency": "USD",
"toCurrency": null,
"blockNumber": 29804083,
"blockHash": "0xbd3da265118ef20c2ddcc4c81753bd0be18460c52091a54ab4df38820d9c8a95",
"hash": "0x4528d4d230df36aa9b100f7f902ecab266adbc87c8490748e6b8e234c1b293b6",
"confirmations": 6,
"confirmed": true,
"gasPrice": "1200063",
"gasUsed": "135281",
"gasFee": "0.000000162345722703",
"status": "FAILED",
"type": "GATEWAY_WITHDRAW",
"note": "Withdrawal of 1 USDC from gateway smart wallet 0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"amlScreening": {
"provider": "ofac, fbi, tether, circle",
"status": "success",
"message": "Address is not sanctioned"
},
"assetSwept": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptSenderAddress": null,
"assetSweptRecipientAddress": null,
"assetSweptAmount": null,
"reason": "Balance Before: 6.749202 USDC | Network Fee: 0.01 USDC | Gasless: false",
"network": "testnet",
"chainId": 84532,
"metadata": null,
"toAmount": null,
"signedTransaction": null,
"rate": null,
"createdAt": "2025-08-17T02:33:39.424Z",
"updatedAt": "2025-08-17T02:34:26.238Z",
"asset": {
"id": "0927dc05-7d4e-4c0a-82c6-98ceb170ab84",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"standard": null,
"currency": "USD",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"network": "testnet",
"isNative": false,
"createdAt": "2024-05-27T14:31:19.442Z",
"updatedAt": "2025-04-17T04:50:20.019Z"
},
"address": null,
"blockchain": {
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"name": "base",
"symbol": "eth",
"slug": "base",
"derivationPath": "m/44'/60'/0'/0",
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"isActive": true,
"tokenStandard": null,
"createdAt": "2024-05-27T14:31:14.966Z",
"updatedAt": "2024-11-26T20:04:13.945Z"
},
"wallet": {
"id": "e17dea25-6c01-4b3a-a4ae-51f411bf69cd",
"name": "Base Wallet",
"description": "This is Base wallet",
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"derivationPath": "m/44'/60'/0'/0/0",
"isActive": true,
"status": "ACTIVE",
"network": "testnet",
"configurations": null,
"createdAt": "2024-08-22T16:05:46.167Z",
"updatedAt": "2024-08-22T16:05:46.167Z",
"business": {
"id": "4b96c271-35eb-45e8-b558-6a53f95df601",
"name": "Blockradar",
"sector": "infrastructure",
"userId": "ad0ad16d-dc56-48e9-85da-a86adabff48e",
"status": "ACTIVE",
"pipedriveOrganizationId": "401",
"createdAt": "2024-08-22T15:28:37.522Z",
"updatedAt": "2025-06-25T21:39:16.152Z"
}
},
"beneficiary": null,
"paymentLink": null,
"toAsset": null,
"toBlockchain": null,
"toWallet": null
}
}
法币入金交易 Webhooks
每当法币被兑换并结算为数字资产时,Blockradar 都会发出统一的交易 webhook。无论付款来自长期有效的虚拟账户,还是来自 Deposit Fiat 支付订单,均适用此规则。| 事件 | 含义 |
|---|---|
onramp.processing | 已检测到法币付款,结算正在进行中。 |
onramp.success | 法币入金已完成,目标资产已结算。 |
onramp.failed | 法币入金未能完成。 |
onramp.cancelled | 法币入金在完成前被取消。 |
Onramp Webhook
{
"event": "onramp.success",
"data": {
"id": "0198f02a-9201-7000-8000-000000000002",
"reference": "provider-payment-001",
"type": "ONRAMP",
"status": "SUCCESS",
"currency": "NGN",
"amount": "150000",
"toCurrency": "USDC",
"toAmount": "100",
"virtualAccount": {
"id": "0198f020-0000-7000-8000-000000000004",
"accountNumber": "1234567890",
"bankName": "Example Bank"
},
"paymentOrder": null,
"wallet": {
"id": "0198f020-0000-7000-8000-000000000005",
"name": "Base Wallet"
}
}
}
data.id 作为法币入金交易的标识符,并以幂等方式处理事件。来源关联字段标识了发起付款的通道:
- 虚拟账户付款会填充
data.virtualAccount。 - Deposit Fiat 支付订单会填充
data.paymentOrder。
onramp.payment-order.* 事件,用于描述支付订单资源的生命周期。这些事件是对 onramp.* 的补充,并不会取代交易 webhook。请参见 Deposit Fiat
webhooks。
deposit.* 事件仅用于交易类型为 DEPOSIT 的链上加密货币充值。法币兑换为加密货币的结算请使用 onramp.*,并以 onramp.success 确认完成。完整事件列表
| 事件 | 描述 |
|---|---|
deposit.success | 当充值交易在区块链上成功接收并确认时触发。 |
deposit.processing | 当充值交易正在处理时触发。 |
deposit.failed | 当充值交易处理或确认失败时触发。 |
deposit.cancelled | 当充值交易在完成前被取消时触发。 |
deposit.incomplete | 当固定金额的支付链接收到的金额少于该金额时触发。交易会保持 INCOMPLETE,直到剩余金额到账。参见固定金额链接少付。 |
deposit.swept.success | 当充值资金成功归集(转移)到主钱包时触发。 |
deposit.swept.failed | 当自动归集流程未能将资金转移到主钱包时触发。 |
withdraw.success | 当提现交易在区块链上成功执行并确认时触发。 |
withdraw.failed | 当提现交易执行失败时触发。可能由资金不足、网络拥堵或其他区块链相关问题导致。 |
withdraw.cancelled | 当提现交易在完成前被取消时触发。 |
offramp.processing | 当法币提现(offramp)请求已被接受并正在处理时触发。 |
offramp.success | 当法币提现(offramp)成功完成、资金已结算至目标账户时触发。 |
offramp.failed | 当法币提现(offramp)未能完成时触发。 |
onramp.processing | 当法币兑换加密货币的交易正在处理时触发。 |
onramp.success | 当法币兑换加密货币的交易成功结算时触发。 |
onramp.failed | 当法币兑换加密货币的交易未能完成时触发。 |
onramp.cancelled | 当法币兑换加密货币的交易在完成前被取消时触发。 |
onramp.payment-order.created | 当 Deposit Fiat 支付订单已创建、付款说明已就绪时触发。 |
onramp.payment-order.paid | 当 Deposit Fiat 支付订单已付款并结算时触发。 |
onramp.payment-order.failed | 当 Deposit Fiat 支付订单未能完成时触发。 |
onramp.payment-order.cancelled | 当 Deposit Fiat 支付订单在结算前被取消时触发。 |
gateway-deposit.success | 当向 Gateway Wallet 合约充值的 USDC 成功最终确认并计入统一 Gateway 余额时触发。 |
gateway-deposit.failed | 当向 Gateway Wallet 合约充值 USDC 失败或被拒绝时触发。 |
gateway-deposit.cancelled | 当 Gateway 充值交易在完成前被取消时触发。 |
gateway-withdraw.success | 当 USDC 通过 Gateway Minter 合约在目标链上成功铸造并提取时触发。 |
gateway-withdraw.failed | 当通过 Gateway 进行的提现(铸造)交易执行失败时触发,可能由统一余额不足、签名无效或区块链问题导致。 |
gateway-withdraw.cancelled | 当 Gateway 提现交易在完成前被取消时触发。 |
signed.success | 当签名交易成功执行时触发,但该交易不会广播到区块链上。 |
signed.failed | 当签名交易执行失败时触发。可能由网络拥堵或其他区块链相关问题导致。 |
signed.cancelled | 当签名交易在完成前被取消时触发。 |
swap.success | 当交换交易成功执行、资产完成兑换时触发。 |
swap.failed | 当交换交易执行失败时触发。可能由资金不足、网络拥堵或交换合约错误导致。 |
swap.cancelled | 当交换交易在完成前被取消时触发。 |
custom-smart-contract.success | 当自定义智能合约交易成功执行时触发。表示合约交互已在区块链上成功完成。 |
custom-smart-contract.failed | 当自定义智能合约交易执行失败时触发。可能由资金不足、网络拥堵或智能合约错误等多种原因导致。 |
custom-smart-contract.cancelled | 当自定义智能合约交易在完成前被取消时触发。 |
staking.success | 当质押交易成功执行、资产完成质押时触发。 |
staking.failed | 当质押交易执行失败时触发。可能由资金不足、网络拥堵或质押合约错误导致。 |
staking.cancelled | 当质押交易在完成前被取消时触发。 |
unstaking.success | 当解除质押交易成功执行、资产解除质押时触发。 |
unstaking.failed | 当解除质押交易执行失败时触发。可能由质押余额不足、网络拥堵或质押合约错误导致。 |
unstaking.cancelled | 当解除质押交易在完成前被取消时触发。 |
unstaking.withdraw.success | 当已解除质押的资产成功提取到用户地址时触发。 |
unstaking.withdraw.failed | 当已解除质押资产的提取执行失败时触发。可能由余额不足、网络拥堵或其他区块链相关问题导致。 |
unstaking.withdraw.cancelled | 当解除质押提取交易在完成前被取消时触发。 |
restaking.success | 当再质押交易成功执行、资产完成再质押时触发。 |
restaking.failed | 当再质押交易执行失败时触发。可能由资金不足、网络拥堵或质押合约错误导致。 |
restaking.cancelled | 当再质押交易在完成前被取消时触发。 |
salvage.success | 当资产恢复(salvage)操作成功执行、资产已找回时触发。 |
salvage.failed | 当资产恢复(salvage)操作执行失败时触发。可能由资金不足、网络拥堵或恢复合约错误导致。 |
salvage.cancelled | 当资产恢复(salvage)操作在完成前被取消时触发。 |
reward-deposit.processing | 当向 Earn 头寸的存入已提交、正在区块链上处理时触发。 |
reward-deposit.success | 当向 Earn 头寸的存入已确认、头寸已注资时触发。包括由 earn 自动结算规则创建的存入。 |
reward-deposit.failed | 当向 Earn 头寸的存入执行失败时触发。 |
reward-deposit.cancelled | 当向 Earn 头寸的存入在完成前被取消时触发。 |
reward-withdraw.processing | 当从 Earn 头寸的提取已提交、正在区块链上处理时触发。 |
reward-withdraw.success | 当从 Earn 头寸的提取已确认、资金已返还时触发。 |
reward-withdraw.failed | 当从 Earn 头寸的提取执行失败时触发。 |
reward-withdraw.cancelled | 当从 Earn 头寸的提取在完成前被取消时触发。 |
交易类型与状态
交易类型
Webhook 载荷中使用以下交易类型:| 类型 | 描述 |
|---|---|
DEPOSIT | 充值交易,资金被接收到钱包地址 |
WITHDRAW | 提现交易,资金从钱包发送到外部地址 |
SIGNED | 签名交易,交易仅被签名、不会广播到网络 |
GATEWAY_DEPOSIT | Gateway 充值交易,资金被接收到 Gateway 钱包地址 |
GATEWAY_WITHDRAW | Gateway 提现交易,资金从 Gateway 钱包发送到外部地址 |
OFFRAMP | 法币提现交易,稳定币被兑换并结算至银行账户 |
ONRAMP | 法币兑换加密货币的交易,由虚拟账户付款或 Deposit Fiat 支付订单创建 |
SALVAGE | 资产恢复操作,用于找回滞留或丢失的资金 |
AUTO_SETTLEMENT | 自动结算交易 |
AUTO_FUNDING | 自动注资交易,用于铸造并转移稳定币 |
REWARD_DEPOSIT | 向 Earn 头寸的存入,包括由 earn 自动结算规则创建的存入 |
REWARD_WITHDRAW | 从 Earn 头寸的提取 |
STAKING | 质押交易,资产被质押 |
UNSTAKING | 解除质押交易,已质押的资产被解除质押 |
RESTAKING | 再质押交易,资产被再次质押 |
UNSTAKING_WITHDRAW | 提取已解除质押的资产 |
CUSTOM_SMART_CONTRACT | 自定义智能合约交互 |
SWAP | 交换交易,一种资产被兑换为另一种资产 |
交易状态
以下状态表示交易的当前状态:| 状态 | 描述 |
|---|---|
PENDING | 交易正在处理中,尚未确认 |
PROCESSING | 交易当前正在处理 |
SUCCESS | 交易已成功执行并确认 |
FAILED | 交易执行失败或被拒绝 |
INCOMPLETE | 交易未完成,可能需要额外步骤 |
CANCELLED | 交易在完成前被取消 |
REFUNDED | 初次处理尝试后,交易资金已被退回 |
这些交易类型和状态用于 webhook 载荷的
type 和 status 字段,帮助您了解发生了哪类交易及其当前状态。
