Em resumo
Webhooks enviam notificações em tempo real para seu servidor quando eventos ocorrem—depósitos, saques, swaps e mais. Em vez de consultar a API, seu servidor recebe atualizações instantâneas quando transações são concluídas.
Webhooks enviam notificações em tempo real para seu servidor quando eventos ocorrem—depósitos, saques, swaps e mais. Em vez de consultar a API, seu servidor recebe atualizações instantâneas quando transações são concluídas.
Pré-requisitos
Antes de configurar webhooks, certifique-se de ter:1
Chave API
Obtenha sua chave API no Painel da Blockradar. Navegue até Developers para gerar uma.
2
Endpoint de Webhook
Crie um endpoint POST no seu servidor que possa receber payloads JSON e retornar uma resposta
200 OK.3
URL HTTPS (Produção)
Para produção, sua URL de webhook deve usar HTTPS. Para testes locais, use ferramentas como ngrok ou webhook.site.
4
Carteira Mestra
Configure sua URL de webhook na sua carteira mestra via painel.
Como Funciona
Quando você faz uma solicitação a um endpoint de API, espera obter uma resposta quase imediata. No entanto, algumas solicitações podem levar muito tempo para processar, o que pode levar a erros de timeout. Para evitar um erro de timeout, uma resposta pendente é retornada. Como seus registros precisam ser atualizados com o estado final da solicitação, você precisa:- Fazer uma solicitação de atualização (popularmente conhecida como polling) ou,
- Ouvir eventos usando uma URL de webhook.
Dica Útil
Recomendamos que você use webhook para fornecer valor aos seus clientes em vez de usar callbacks ou polling. Com callbacks, não temos controle sobre o que acontece no lado do cliente. Nem você. Callbacks podem falhar se a conexão de rede no dispositivo de um cliente falhar ou estiver fraca ou se o dispositivo desligar após uma transação.
Recomendamos que você use webhook para fornecer valor aos seus clientes em vez de usar callbacks ou polling. Com callbacks, não temos controle sobre o que acontece no lado do cliente. Nem você. Callbacks podem falhar se a conexão de rede no dispositivo de um cliente falhar ou estiver fraca ou se o dispositivo desligar após uma transação.
Polling vs Webhooks
Polling requer fazer uma solicitaçãoGET em intervalos regulares para obter o status final de uma solicitação. Por exemplo, quando você emite um endereço para um cliente para depósitos, você continua fazendo uma solicitação de transações vinculadas ao endereço até encontrar uma.
Com webhooks, o servidor de recursos, Blockradar neste caso, envia atualizações para o seu servidor quando o status da sua solicitação muda. A mudança no status de uma solicitação é conhecida como um evento. Você normalmente ouvirá esses eventos em um endpoint POST chamado URL de webhook.
A tabela abaixo destaca algumas diferenças entre polling e webhooks:
| Polling | Webhooks | |
|---|---|---|
| Modo de atualização | Manual | Automático |
| Limitação de taxa | Sim | Não |
| Impactado por escala | Sim | Não |
Criar uma URL de webhook
Uma URL de webhook é simplesmente um endpoint POST para o qual um servidor de recursos envia atualizações. A URL precisa analisar uma solicitação JSON e retornar um200 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 no cabeçalho HTTP. Sem um 200 OK no cabeçalho de resposta, continuaremos enviando eventos pelas próximas 2 horas e 35 minutos:
- Tentaremos enviar webhooks 5 vezes com um atraso crescente entre cada tentativa, começando com 5 minutos e aumentando exponencialmente até 80 minutos. A duração total dessas 5 tentativas abrangerá aproximadamente 2 horas e 35 minutos.
Evite tarefas de longa duração
Se você tiver tarefas de longa duração em sua função de webhook, você deve reconhecer o evento antes de executar as tarefas de longa duração. Tarefas de longa duração levarão a um timeout de solicitação e uma resposta de erro automática do seu servidor. Sem uma resposta 200 OK, tentamos novamente conforme descrito no parágrafo acima.
Se você tiver tarefas de longa duração em sua função de webhook, você deve reconhecer o evento antes de executar as tarefas de longa duração. Tarefas de longa duração levarão a um timeout de solicitação e uma resposta de erro automática do seu servidor. Sem uma resposta 200 OK, tentamos novamente conforme descrito no parágrafo acima.
Testando Webhooks Localmente
Durante o desenvolvimento, você pode configurar sua URL de webhook no ambiente de carteira principal TEST para um endereço local, comohttp://localhost ou 127.0.0.1.
Para expor seu servidor local à internet para fins de teste, considere usar uma ferramenta como ngrok ou webhook.site. Essas ferramentas permitem que você veja como é a carga útil do webhook e simule eventos de webhook localmente antes de implantar seu aplicativo em um ambiente ativo.
Usando essas ferramentas, você pode garantir que sua integração de webhook esteja funcionando corretamente e lidar com quaisquer problemas em um ambiente local e controlado antes de passar para produção.
Reenviar Webhook de Transação
No caso em que por algum motivo você não recebe o webhook de transação e o tempo de backoff expirou, fornecemos uma API que você pode usar para reenviar um webhook de transaçãoUse com cautela!
Como isso pode levar ao processamento de transações já concluídas, certifique-se de ter validação adequada em vigor ao usar este endpoint.
Como isso pode levar ao processamento de transações já concluídas, certifique-se de ter validação adequada em vigor ao usar este endpoint.
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));
Verificar origem do evento
Como sua URL de webhook está disponível publicamente, você precisa verificar se os eventos se originam do Blockradar e não de um agente mal-intencionado. Existem duas maneiras de garantir que os eventos para sua URL de webhook sejam do Blockradar:- Validação de assinatura (recomendado)
Validação de assinatura
Eventos enviados do Blockradar carregam o cabeçalho x-blockradar-signature. O valor deste cabeçalho é uma assinatura HMAC SHA512 da carga útil do evento assinada usando sua chave secreta. A verificação da assinatura do cabeçalho deve ser feita antes de processar o evento: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
Checklist de Entrada em Produção
Agora que você criou com sucesso sua URL de webhook, aqui estão algumas maneiras de garantir que você tenha uma experiência agradável:- Adicione a URL do webhook em suas Carteiras Principais no painel Blockradar
- Certifique-se de que sua URL de webhook esteja disponível publicamente (URLs localhost não podem receber eventos)
- Se estiver usando
.htaccess, lembre-se de adicionar a barra/final à URL - Teste seu webhook para garantir que você está recebendo o corpo JSON e retornando uma resposta HTTP
200 OK - Se sua função de webhook tiver tarefas de longa duração, você deve primeiro reconhecer o recebimento do webhook retornando um
200 OKantes de prosseguir com as tarefas de longa duração - Se não recebermos uma resposta HTTP
200 OKde seus webhooks, sinalizamos como uma tentativa falhada - Tentaremos enviar webhooks 5 vezes com um atraso crescente entre cada tentativa, começando com 5 minutos e aumentando exponencialmente até 80 minutos. A duração total dessas 5 tentativas abrangerá aproximadamente 2 horas e 35 minutos.
Tipos de eventos
Aqui estão os eventos que atualmente levantamos. Adicionaremos mais a esta lista à medida que nos conectarmos a mais ações no futuro.Taxas de rede nos payloads de webhooks
Todo webhook de transação inclui dois campos que descrevem as taxas de rede envolvidas no processamento da transação: um resumonetworkFee e um detalhamento networkFees.
networkFee
A taxa de rede total paga pelas suas carteiras gerenciadas pela Blockradar neste fluxo de transação, no token nativo da cadeia e em USD. Este é o valor a usar para repassar o custo ao seu cliente."networkFee": {
"amount": "0.000095597672027028",
"symbol": "ETH",
"amountUsd": "0.248568"
}
| Campo | Descrição |
|---|---|
amount | Taxa total no token nativo da cadeia, somada de cada taxa que suas carteiras pagaram neste fluxo de transação |
symbol | Token nativo em que a taxa foi paga, como ETH, BNB, TRX, SOL ou XLM |
amountUsd | Valor em USD do total. Null se não houve cotação USD disponível para algum componente, nesse caso aplique sua própria cotação sobre amount |
networkFee é null quando o evento não carrega nenhuma taxa paga pelas suas carteiras. O caso mais comum é deposit.success, onde o gas foi pago pelo depositante. Essa taxa continua visível no campo gasFee da transação, apenas não é um custo que você assumiu.
Um evento
withdraw.failed pode carregar um networkFee diferente de null. Se um saque reverte na cadeia, o gas foi gasto mesmo assim.networkFees
O detalhamento verificável por trás do resumo. Cada entrada é uma taxa on chain com seu próprio hash de transação, então cada etapa pode ser verificada de forma independente em um explorador de blocos. Uma única ação lógica costuma envolver várias transações de taxa, por exemplo abastecer um endereço de depósito com gas, aprovar um token e depois fazer o sweep. O detalhamento abaixo pertence ao resumonetworkFee acima, e suas entradas somam exatamente esse total.
"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"
}
]
| Campo | Descrição |
|---|---|
operation | O que a taxa pagou, como WITHDRAW, SWEEP, GAS_FUNDING, TOKEN_APPROVAL, DRAIN ou ENERGY_PURCHASE |
feeSource | Qual carteira pagou a taxa: ADDRESS (um endereço de depósito), MASTER_WALLET (sua carteira master ou pool), PLATFORM ou PROVIDER (patrocinada, não é seu custo) |
status | Status da taxa, normalmente CONFIRMED |
txHash | Hash da transação que pagou esta taxa |
feeNative | Valor da taxa no token nativo da cadeia |
feeUsd | Valor em USD no momento do registro, pode ser null |
nativeRateUsd | Cotação do token nativo para USD usada nesta entrada |
createdAt | Quando a taxa foi registrada |
- Para cobrar do seu cliente, use
networkFee. Ele já soma apenas as entradas que suas carteiras pagaram (ADDRESSeMASTER_WALLET) e exclui tudo que foi patrocinado pela Blockradar (PLATFORMePROVIDER). Nunca repasse entradas patrocinadas aos seus clientes. - O detalhamento é uma foto do momento em que o webhook foi enviado. Uma taxa registrada depois do evento, por exemplo um dreno de gas restante, aparece nos reenvios do webhook e na API de taxas de rede (
GET /wallets/{walletId}/network-fees), que é o livro razão ao vivo.
Exemplos de Eventos
Abaixo estão exemplos de cargas úteis de webhook para alguns dos eventos mais comuns:- Depósito Sucesso
- Depósito Processando
- Saque Sucesso
- Assinado Sucesso
- Assinado Falhou
- Troca Sucesso
- Depósito Varrido Sucesso
- Saque Falhou
- Swap Failed
- Deposit Failed
- Deposit Swept Failed
- Staking Success
- Custom Smart Contract Success
- Gateway Deposit Success
- Gateway Deposit Failed
- Gateway Withdraw Success
- Withdraw Failed
{
"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": "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
}
}
Complete Event List
| Evento | Descrição |
|---|---|
deposit.success | Disparado quando uma transação de depósito é recebida e confirmada na blockchain com sucesso. |
deposit.processing | Disparado quando uma transação de depósito está sendo processada. |
deposit.failed | Disparado quando uma transação de depósito não é processada ou confirmada. |
deposit.cancelled | Disparado quando uma transação de depósito é cancelada antes da conclusão. |
deposit.swept.success | Disparado quando os fundos de um depósito são varridos (transferidos) para a carteira principal com sucesso. |
deposit.swept.failed | Disparado quando a varredura automática não consegue transferir os fundos para a carteira principal. |
withdraw.success | Disparado quando uma transação de saque é executada e confirmada na blockchain com sucesso. |
withdraw.failed | Disparado quando uma transação de saque não é executada. Isso pode ocorrer por saldo insuficiente, congestionamento da rede ou outros problemas da blockchain. |
withdraw.cancelled | Disparado quando uma transação de saque é cancelada antes da conclusão. |
gateway-deposit.success | Disparado quando um depósito de USDC no contrato Gateway Wallet é finalizado e creditado no saldo unificado do Gateway com sucesso. |
gateway-deposit.failed | Disparado quando um depósito de USDC no contrato Gateway Wallet falha ou é rejeitado. |
gateway-deposit.cancelled | Disparado quando uma transação de depósito via Gateway é cancelada antes da conclusão. |
gateway-withdraw.success | Disparado quando o USDC é emitido e sacado na rede de destino por meio do contrato Gateway Minter com sucesso. |
gateway-withdraw.failed | Disparado quando uma transação de saque (emissão) via Gateway não é executada, o que pode ocorrer por saldo unificado insuficiente, assinatura inválida ou problemas da blockchain. |
gateway-withdraw.cancelled | Disparado quando uma transação de saque via Gateway é cancelada antes da conclusão. |
signed.success | Disparado quando uma transação assinada é executada com sucesso, mas não é transmitida na blockchain. |
signed.failed | Disparado quando uma transação assinada não é executada. Isso pode ocorrer por congestionamento da rede ou outros problemas da blockchain. |
signed.cancelled | Disparado quando uma transação assinada é cancelada antes da conclusão. |
swap.success | Disparado quando uma transação de swap é executada com sucesso e os ativos são trocados. |
swap.failed | Disparado quando uma transação de swap não é executada. Isso pode ocorrer por saldo insuficiente, congestionamento da rede ou erros no contrato de swap. |
swap.cancelled | Disparado quando uma transação de swap é cancelada antes da conclusão. |
custom-smart-contract.success | Disparado quando uma transação de contrato inteligente personalizado é executada com sucesso. Indica que a interação com o contrato foi concluída na blockchain. |
custom-smart-contract.failed | Disparado quando uma transação de contrato inteligente personalizado não é executada. Isso pode ocorrer por diversos motivos, como saldo insuficiente, congestionamento da rede ou erros no contrato. |
custom-smart-contract.cancelled | Disparado quando uma transação de contrato inteligente personalizado é cancelada antes da conclusão. |
staking.success | Disparado quando uma transação de staking é executada com sucesso e os ativos são bloqueados. |
staking.failed | Disparado quando uma transação de staking não é executada. Isso pode ocorrer por saldo insuficiente, congestionamento da rede ou erros no contrato de staking. |
staking.cancelled | Disparado quando uma transação de staking é cancelada antes da conclusão. |
unstaking.success | Disparado quando uma transação de unstaking é executada com sucesso e os ativos são desbloqueados. |
unstaking.failed | Disparado quando uma transação de unstaking não é executada. Isso pode ocorrer por saldo em staking insuficiente, congestionamento da rede ou erros no contrato de staking. |
unstaking.cancelled | Disparado quando uma transação de unstaking é cancelada antes da conclusão. |
unstaking.withdraw.success | Disparado quando os ativos retirados do staking são sacados para o endereço do usuário com sucesso. |
unstaking.withdraw.failed | Disparado quando o saque de ativos retirados do staking não é executado. Isso pode ocorrer por saldo insuficiente, congestionamento da rede ou outros problemas da blockchain. |
unstaking.withdraw.cancelled | Disparado quando uma transação de saque de unstaking é cancelada antes da conclusão. |
restaking.success | Disparado quando uma transação de restaking é executada com sucesso e os ativos são novamente bloqueados. |
restaking.failed | Disparado quando uma transação de restaking não é executada. Isso pode ocorrer por saldo insuficiente, congestionamento da rede ou erros no contrato de staking. |
restaking.cancelled | Disparado quando uma transação de restaking é cancelada antes da conclusão. |
salvage.success | Disparado quando uma operação de recuperação é executada com sucesso e os ativos são recuperados. |
salvage.failed | Disparado quando uma operação de recuperação não é executada. Isso pode ocorrer por saldo insuficiente, congestionamento da rede ou erros no contrato de recuperação. |
salvage.cancelled | Disparado quando uma operação de recuperação é cancelada antes da conclusão. |
reward-deposit.processing | Disparado quando um depósito em uma posição de Earn é enviado e está sendo processado na blockchain. |
reward-deposit.success | Disparado quando um depósito em uma posição de Earn é confirmado e a posição é financiada. Inclui depósitos criados por uma regra de auto-settlement do tipo earn. |
reward-deposit.failed | Disparado quando um depósito em uma posição de Earn não é executado. |
reward-deposit.cancelled | Disparado quando um depósito em uma posição de Earn é cancelado antes da conclusão. |
reward-withdraw.processing | Disparado quando um saque de uma posição de Earn é enviado e está sendo processado na blockchain. |
reward-withdraw.success | Disparado quando um saque de uma posição de Earn é confirmado e os fundos são devolvidos. |
reward-withdraw.failed | Disparado quando um saque de uma posição de Earn não é executado. |
reward-withdraw.cancelled | Disparado quando um saque de uma posição de Earn é cancelado antes da conclusão. |
Transaction Types and Statuses
Transaction Types
The following transaction types are used in webhook payloads:| Tipo | Descrição |
|---|---|
DEPOSIT | Transação de depósito em que os fundos são recebidos em um endereço de carteira |
WITHDRAW | Transação de saque em que os fundos são enviados de uma carteira para um endereço externo |
SIGNED | Transação assinada em que a transação é apenas assinada e não transmitida à rede |
GATEWAY_DEPOSIT | Transação de depósito em que os fundos são recebidos em um endereço de carteira do Gateway |
GATEWAY_WITHDRAW | Transação de saque em que os fundos são enviados de uma carteira do Gateway para um endereço externo |
SALVAGE | Operação de recuperação de fundos presos ou perdidos |
AUTO_SETTLEMENT | Transação de liquidação automática |
AUTO_FUNDING | Transação de financiamento automático que emite e movimenta stablecoins |
REWARD_DEPOSIT | Depósito em uma posição de Earn, incluindo depósitos criados por uma regra de auto-settlement do tipo earn |
REWARD_WITHDRAW | Saque de uma posição de Earn |
STAKING | Transação de staking em que os ativos são bloqueados |
UNSTAKING | Transação de unstaking em que os ativos bloqueados são liberados |
RESTAKING | Transação de restaking em que os ativos são novamente bloqueados |
UNSTAKING_WITHDRAW | Saque de ativos retirados do staking |
CUSTOM_SMART_CONTRACT | Interação com um contrato inteligente personalizado |
SWAP | Transação de swap em que um ativo é trocado por outro |
Transaction Statuses
The following statuses indicate the current state of a transaction:| Status | Descrição |
|---|---|
PENDING | A transação está sendo processada, mas ainda não foi confirmada |
PROCESSING | A transação está em processamento |
SUCCESS | A transação foi executada e confirmada com sucesso |
FAILED | A transação falhou ao ser executada ou foi rejeitada |
INCOMPLETE | A transação está incompleta e pode exigir etapas adicionais |
CANCELLED | A transação foi cancelada antes da conclusão |
Esses tipos e status de transação são usados nos campos
type e status dos payloads de webhook para ajudar você a entender que tipo de transação ocorreu e qual é o seu estado atual.
