Api/VirtualAccountBlockchainFeesApi
Virtual account blockchain fees API Reference
// Set your API Keys 👇 here
$sdk = new \Tatum\Sdk();
// MainNet API Call
$sdk->mainnet()->api()->virtualAccountBlockchainFees();
// TestNet API Call
$sdk->testnet()->api()->virtualAccountBlockchainFees();
Methods
Method | Description |
---|---|
offchainEstimateFee() | Estimate ledger to blockchain transaction fee |
offchainEstimateFee()
Example
#️⃣ Execute command in terminal
Request
POST
/v3/offchain/blockchain/estimate
Type signature
(new \Tatum\Sdk())->{mainnet/testnet}()->api()->virtualAccountBlockchainFees()->offchainEstimateFee(
\Tatum\Model\OffchainEstimateFee $offchain_estimate_fee
): \Tatum\Model\FeeBtc
Parameters
Name | Type | Description | Notes |
---|---|---|---|
$offchain_estimate_fee | \Tatum\Model\OffchainEstimateFee |
Return type
Description
Estimate ledger to blockchain transaction fee
2 credits per API call.
Estimate current transaction fee for ledger to blockchain transaction. Supported blockchains:
- Bitcoin
- Litecoin
- Dogecoin