curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/contracts/write/sign \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"abi": [
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"address": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf",
"method": "transfer",
"parameters": [
"TRjn21ENcbPhLAec6aeCwVwNYmxK687cKr",
"100000"
]
}
'{
"data": {
"amlScreening": {},
"amount": null,
"amountPaid": null,
"amountUSD": "0.00",
"asset": null,
"assetSwept": null,
"assetSweptAmount": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptRecipientAddress": null,
"assetSweptSenderAddress": null,
"blockHash": null,
"blockNumber": null,
"blockchain": {
"createdAt": "2024-05-27T14:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T20:04:13.945Z"
},
"chainId": null,
"confirmations": null,
"confirmed": true,
"createdAt": "2025-08-11T22:21:56.077Z",
"currency": "USD",
"fee": null,
"feeHash": null,
"gasFee": null,
"gasPrice": null,
"gasUsed": null,
"hash": "0x229d811ef34a9f12454e89f12e06945dfc8122538a0af6369ec3f2a2f9aa8cbb",
"id": "fe2d8c39-a6ba-41cb-99e7-05c4dcee6c94",
"metadata": null,
"network": "testnet",
"note": null,
"rate": null,
"rateUSD": "0.00",
"reason": "{\"method\":\"transfer\",\"parameters\":[\"0x451dEFC27B45808078e875556AF06bCFdC697BA4\",\"10000\"],\"abi\":{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}}",
"recipientAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"reference": "xvLz7CIFoD",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"signedTransaction": "0xf8ab3e83124fc08301623d94036cbd53842c5426634e7929541ec2318f3dcf7e80b844a9059cbb000000000000000000000000451defc27b45808078e875556af06bcfdc697ba400000000000000000000000000000000000000000000000000000000000027108302948ca0c86783ba50374a959907d9174c2a0b5cd3a87d55336e6c9a6420fde0dd07303ea019a93dad742a9bed4c6d1f514f7fe26777e8f17fe090967a9719afddaa281d64",
"status": "SUCCESS",
"toAmount": null,
"toCurrency": null,
"tokenAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"type": "SIGNED",
"updatedAt": "2025-08-11T22:21:56.077Z",
"wallet": {
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"configurations": null,
"createdAt": "2024-08-22T16:05:46.167Z",
"derivationPath": "m/44'/60'/0'/0/0",
"description": "This is Base wallet",
"id": "e17dea25-6c01-4b3a-a4ae-51f411bf69cd",
"isActive": true,
"name": "Base Wallet",
"network": "testnet",
"status": "ACTIVE",
"updatedAt": "2024-08-22T16:05:46.167Z"
}
},
"message": "Contract write signed successfully",
"statusCode": 200
}This API provides endpoints for interacting with smart contracts on the blockchain. It allows for executing contract functions without broadcasting
The request body should be in raw format and include the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| address | string | Yes | The address of the contract. |
| method | string | Yes | The method to be called on the contract. |
| parameters | array | Yes | An array of parameters to pass to the method. |
| abi | array | Yes | An array containing the ABI of the contract or method. |
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/contracts/write/sign \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"abi": [
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"address": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf",
"method": "transfer",
"parameters": [
"TRjn21ENcbPhLAec6aeCwVwNYmxK687cKr",
"100000"
]
}
'{
"data": {
"amlScreening": {},
"amount": null,
"amountPaid": null,
"amountUSD": "0.00",
"asset": null,
"assetSwept": null,
"assetSweptAmount": null,
"assetSweptAt": null,
"assetSweptGasFee": null,
"assetSweptHash": null,
"assetSweptRecipientAddress": null,
"assetSweptSenderAddress": null,
"blockHash": null,
"blockNumber": null,
"blockchain": {
"createdAt": "2024-05-27T14:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T20:04:13.945Z"
},
"chainId": null,
"confirmations": null,
"confirmed": true,
"createdAt": "2025-08-11T22:21:56.077Z",
"currency": "USD",
"fee": null,
"feeHash": null,
"gasFee": null,
"gasPrice": null,
"gasUsed": null,
"hash": "0x229d811ef34a9f12454e89f12e06945dfc8122538a0af6369ec3f2a2f9aa8cbb",
"id": "fe2d8c39-a6ba-41cb-99e7-05c4dcee6c94",
"metadata": null,
"network": "testnet",
"note": null,
"rate": null,
"rateUSD": "0.00",
"reason": "{\"method\":\"transfer\",\"parameters\":[\"0x451dEFC27B45808078e875556AF06bCFdC697BA4\",\"10000\"],\"abi\":{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}}",
"recipientAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"reference": "xvLz7CIFoD",
"senderAddress": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"signedTransaction": "0xf8ab3e83124fc08301623d94036cbd53842c5426634e7929541ec2318f3dcf7e80b844a9059cbb000000000000000000000000451defc27b45808078e875556af06bcfdc697ba400000000000000000000000000000000000000000000000000000000000027108302948ca0c86783ba50374a959907d9174c2a0b5cd3a87d55336e6c9a6420fde0dd07303ea019a93dad742a9bed4c6d1f514f7fe26777e8f17fe090967a9719afddaa281d64",
"status": "SUCCESS",
"toAmount": null,
"toCurrency": null,
"tokenAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"type": "SIGNED",
"updatedAt": "2025-08-11T22:21:56.077Z",
"wallet": {
"address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"configurations": null,
"createdAt": "2024-08-22T16:05:46.167Z",
"derivationPath": "m/44'/60'/0'/0/0",
"description": "This is Base wallet",
"id": "e17dea25-6c01-4b3a-a4ae-51f411bf69cd",
"isActive": true,
"name": "Base Wallet",
"network": "testnet",
"status": "ACTIVE",
"updatedAt": "2024-08-22T16:05:46.167Z"
}
},
"message": "Contract write signed successfully",
"statusCode": 200
}"YOUR_WALLET_ID"
Show child attributes
false
"transfer"
[]false
"nonpayable"
"function"
[
{
"constant": false,
"inputs": [
{ "name": "_to", "type": "address" },
{ "name": "_value", "type": "uint256" }
],
"name": "transfer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]"TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf"
"transfer"
[
"TRjn21ENcbPhLAec6aeCwVwNYmxK687cKr",
"100000"
]Ethereum / Tron
Show child attributes
"0.00"
Show child attributes
"2024-05-27T14:31:14.966Z"
"m/44'/60'/0'/0"
"74733889-4ecd-403e-9840-94e87c043f24"
true
true
true
"base"
"base"
"eth"
null
"2024-11-26T20:04:13.945Z"
true
"2025-08-11T22:21:56.077Z"
"USD"
"0x229d811ef34a9f12454e89f12e06945dfc8122538a0af6369ec3f2a2f9aa8cbb"
"fe2d8c39-a6ba-41cb-99e7-05c4dcee6c94"
"testnet"
"0.00"
"{\"method\":\"transfer\",\"parameters\":[\"0x451dEFC27B45808078e875556AF06bCFdC697BA4\",\"10000\"],\"abi\":{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}}"
"0x036CbD53842c5426634e7929541eC2318f3dCF7e"
"xvLz7CIFoD"
"0x947514e4B803e312C312da0F1B41fEDdbe15ae7a"
"0xf8ab3e83124fc08301623d94036cbd53842c5426634e7929541ec2318f3dcf7e80b844a9059cbb000000000000000000000000451defc27b45808078e875556af06bcfdc697ba400000000000000000000000000000000000000000000000000000000000027108302948ca0c86783ba50374a959907d9174c2a0b5cd3a87d55336e6c9a6420fde0dd07303ea019a93dad742a9bed4c6d1f514f7fe26777e8f17fe090967a9719afddaa281d64"
"SUCCESS"
"0x036CbD53842c5426634e7929541eC2318f3dCF7e"
"SIGNED"
"2025-08-11T22:21:56.077Z"
Show child attributes
"0x947514e4B803e312C312da0F1B41fEDdbe15ae7a"
"2024-08-22T16:05:46.167Z"
"m/44'/60'/0'/0/0"
"This is Base wallet"
"e17dea25-6c01-4b3a-a4ae-51f411bf69cd"
true
"Base Wallet"
"testnet"
"ACTIVE"
"2024-08-22T16:05:46.167Z"
"Contract write signed successfully"
200