Saltar para o conteúdo principal
POST
/
v1
/
wallets
/
{walletId}
/
withdraw
/
network-fee
Master Wallet Network Fee
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/withdraw/network-fee \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "address": "RECIPIENT_ADDRESSS",
  "amount": "AMOUNT_TO_SEND",
  "assetId": "WALLET_ASSET_ID"
}
'
{
"data": {
"nativeBalance": "0.04998428208321722",
"networkFee": "0.000000021112014"
},
"message": "Network fee fetched successfully",
"statusCode": 200
}

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

walletId
string
obrigatório
Exemplo:

"{{walletId}}"

Corpo

application/json
address
string
Exemplo:

"RECIPIENT_ADDRESSS"

amount
string
Exemplo:

"AMOUNT_TO_SEND"

assetId
string
Exemplo:

"WALLET_ASSET_ID"

Resposta

200

data
object
message
string
Exemplo:

"Network fee fetched successfully"

statusCode
number
Exemplo:

200