import cobo_waas2
from cobo_waas2.models.estimate_fee_params import EstimateFeeParams
from cobo_waas2.models.estimated_fee import EstimatedFee
from cobo_waas2.rest import ApiException
from pprint import pprint
# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
# Replace `<YOUR_PRIVATE_KEY>` with your private key
api_private_key="<YOUR_PRIVATE_KEY>",
# Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cobo_waas2.TransactionsApi(api_client)
estimate_fee_params = cobo_waas2.EstimateFeeParams(
cobo_waas2.EstimateTransferFeeParams(
request_type="Transfer",
source=cobo_waas2.TransferSource(
cobo_waas2.CustodialTransferSource(
source_type="Asset",
wallet_id="f47ac10b-58cc-4372-a567-0e02b2c3d479",
)
),
token_id="TRON_USDT",
destination = cobo_waas2.TransferDestination(
cobo_waas2.AddressTransferDestination(
destination_type = "Address",
account_output = cobo_waas2.AddressTransferDestinationAccountOutput(
address = "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
amount = "1.5"
)
)
),
fee_type = "Fixed"
)
)
try:
# Estimate transaction fee
api_response = api_instance.estimate_fee(
estimate_fee_params=estimate_fee_params
)
print("The response of TransactionsApi->estimate_fee:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TransactionsApi->estimate_fee: %s\n" % e)
// Import classes:
import com.cobo.waas2.ApiClient;
import com.cobo.waas2.ApiException;
import com.cobo.waas2.Configuration;
import com.cobo.waas2.Env;
import com.cobo.waas2.api.TransactionsApi;
import com.cobo.waas2.model.*;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Select the development environment. To use the production environment, replace `Env.DEV` with
// `Env.PROD
defaultClient.setEnv(Env.DEV);
// Replace `<YOUR_PRIVATE_KEY>` with your private key
defaultClient.setPrivKey("<YOUR_PRIVATE_KEY>");
TransactionsApi apiInstance = new TransactionsApi();
EstimateFeeParams estimateFeeParams =
new EstimateFeeParams(
new EstimateTransferFeeParams()
.requestType(EstimateFeeRequestType.TRANSFER)
.source(
new TransferSource(
new CustodialTransferSource()
.sourceType(WalletSubtype.ASSET)
.walletId(UUID.fromString("f47ac10b-58cc-4372-a567-0e02b2c3d479"))))
.tokenId("TRON_USDT")
.destination(
new TransferDestination(
new AddressTransferDestination()
.destinationType(TransferDestinationType.ADDRESS)
.accountOutput(
new AddressTransferDestinationAccountOutput()
.address("19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku")
.amount("1.5")
)
)
)
.feeType(FeeType.FIXED)
);
try {
EstimatedFee result = apiInstance.estimateFee(estimateFeeParams);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransactionsApi#estimateFee");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
package main
import (
"context"
"fmt"
coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"
"github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2/crypto"
"os"
)
func main() {
estimateFeeParams := coboWaas2.EstimateFeeParams{
EstimateContractCallFeeParams: coboWaas2.NewEstimateContractCallFeeParams(
coboWaas2.EstimateFeeRequestType("Transfer"),
"ETH",
coboWaas2.ContractCallSource{
CustodialWeb3ContractCallSource: coboWaas2.NewCustodialWeb3ContractCallSource(
coboWaas2.ContractCallSourceType("Web3"),
"f47ac10b-58cc-4372-a567-0e02b2c3d479",
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
),
},
),
}
configuration := coboWaas2.NewConfiguration()
// Initialize the API client
apiClient := coboWaas2.NewAPIClient(configuration)
ctx := context.Background()
// Select the development environment. To use the production environment, replace coboWaas2.DevEnv with coboWaas2.ProdEnv
ctx = context.WithValue(ctx, coboWaas2.ContextEnv, coboWaas2.DevEnv)
// Replace `<YOUR_PRIVATE_KEY>` with your private key
ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
Secret: "<YOUR_PRIVATE_KEY>",
})
resp, r, err := apiClient.TransactionsAPI.EstimateFee(ctx).
EstimateFeeParams(estimateFeeParams).
Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TransactionsAPI.EstimateFee``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EstimateFee`: EstimatedFee
fmt.Fprintf(os.Stdout, "Response from `TransactionsAPI.EstimateFee`: %v\n", resp)
}
const CoboWaas2 = require("@cobo/cobo-waas2");
// Initialize the API client
const apiClient = CoboWaas2.ApiClient.instance;
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
apiClient.setEnv(CoboWaas2.Env.DEV);
// Replace `<YOUR_PRIVATE_KEY>` with your private key
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
// Call the API
const apiInstance = new CoboWaas2.TransactionsApi();
const opts = {
EstimateFeeParams: CoboWaas2.EstimateFeeParams.constructFromObject({
request_type: "Transfer",
source: {
source_type: "Asset",
wallet_id: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
},
token_id: "ETH_USDT",
"destination": {
"destination_type": "Address",
"account_output": {
"address": "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
"memo": "",
"amount": "0.1"
}
},
"fee_type": "Fixed"
}),
};
apiInstance.estimateFee(opts).then(
(data) => {
console.log("API called successfully. Returned data: " + data);
},
(error) => {
console.error(error);
},
);
{
"fee_type": "EVM_EIP_1559",
"token_id": "TRON",
"fee_amount": "0.1",
"is_loop": false
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}Estimate transaction fee
This operation estimates the transaction fee of a token transfer or a contract call based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity.
You need to specify the transaction information, including the request ID, request type, source address, destination address, token ID (only applicable to token transfers), and chain ID (only applicable to contract calls).
The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to Estimate transaction fee.
import cobo_waas2
from cobo_waas2.models.estimate_fee_params import EstimateFeeParams
from cobo_waas2.models.estimated_fee import EstimatedFee
from cobo_waas2.rest import ApiException
from pprint import pprint
# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
# Replace `<YOUR_PRIVATE_KEY>` with your private key
api_private_key="<YOUR_PRIVATE_KEY>",
# Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cobo_waas2.TransactionsApi(api_client)
estimate_fee_params = cobo_waas2.EstimateFeeParams(
cobo_waas2.EstimateTransferFeeParams(
request_type="Transfer",
source=cobo_waas2.TransferSource(
cobo_waas2.CustodialTransferSource(
source_type="Asset",
wallet_id="f47ac10b-58cc-4372-a567-0e02b2c3d479",
)
),
token_id="TRON_USDT",
destination = cobo_waas2.TransferDestination(
cobo_waas2.AddressTransferDestination(
destination_type = "Address",
account_output = cobo_waas2.AddressTransferDestinationAccountOutput(
address = "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
amount = "1.5"
)
)
),
fee_type = "Fixed"
)
)
try:
# Estimate transaction fee
api_response = api_instance.estimate_fee(
estimate_fee_params=estimate_fee_params
)
print("The response of TransactionsApi->estimate_fee:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TransactionsApi->estimate_fee: %s\n" % e)
// Import classes:
import com.cobo.waas2.ApiClient;
import com.cobo.waas2.ApiException;
import com.cobo.waas2.Configuration;
import com.cobo.waas2.Env;
import com.cobo.waas2.api.TransactionsApi;
import com.cobo.waas2.model.*;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Select the development environment. To use the production environment, replace `Env.DEV` with
// `Env.PROD
defaultClient.setEnv(Env.DEV);
// Replace `<YOUR_PRIVATE_KEY>` with your private key
defaultClient.setPrivKey("<YOUR_PRIVATE_KEY>");
TransactionsApi apiInstance = new TransactionsApi();
EstimateFeeParams estimateFeeParams =
new EstimateFeeParams(
new EstimateTransferFeeParams()
.requestType(EstimateFeeRequestType.TRANSFER)
.source(
new TransferSource(
new CustodialTransferSource()
.sourceType(WalletSubtype.ASSET)
.walletId(UUID.fromString("f47ac10b-58cc-4372-a567-0e02b2c3d479"))))
.tokenId("TRON_USDT")
.destination(
new TransferDestination(
new AddressTransferDestination()
.destinationType(TransferDestinationType.ADDRESS)
.accountOutput(
new AddressTransferDestinationAccountOutput()
.address("19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku")
.amount("1.5")
)
)
)
.feeType(FeeType.FIXED)
);
try {
EstimatedFee result = apiInstance.estimateFee(estimateFeeParams);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransactionsApi#estimateFee");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
package main
import (
"context"
"fmt"
coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"
"github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2/crypto"
"os"
)
func main() {
estimateFeeParams := coboWaas2.EstimateFeeParams{
EstimateContractCallFeeParams: coboWaas2.NewEstimateContractCallFeeParams(
coboWaas2.EstimateFeeRequestType("Transfer"),
"ETH",
coboWaas2.ContractCallSource{
CustodialWeb3ContractCallSource: coboWaas2.NewCustodialWeb3ContractCallSource(
coboWaas2.ContractCallSourceType("Web3"),
"f47ac10b-58cc-4372-a567-0e02b2c3d479",
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
),
},
),
}
configuration := coboWaas2.NewConfiguration()
// Initialize the API client
apiClient := coboWaas2.NewAPIClient(configuration)
ctx := context.Background()
// Select the development environment. To use the production environment, replace coboWaas2.DevEnv with coboWaas2.ProdEnv
ctx = context.WithValue(ctx, coboWaas2.ContextEnv, coboWaas2.DevEnv)
// Replace `<YOUR_PRIVATE_KEY>` with your private key
ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
Secret: "<YOUR_PRIVATE_KEY>",
})
resp, r, err := apiClient.TransactionsAPI.EstimateFee(ctx).
EstimateFeeParams(estimateFeeParams).
Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TransactionsAPI.EstimateFee``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EstimateFee`: EstimatedFee
fmt.Fprintf(os.Stdout, "Response from `TransactionsAPI.EstimateFee`: %v\n", resp)
}
const CoboWaas2 = require("@cobo/cobo-waas2");
// Initialize the API client
const apiClient = CoboWaas2.ApiClient.instance;
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
apiClient.setEnv(CoboWaas2.Env.DEV);
// Replace `<YOUR_PRIVATE_KEY>` with your private key
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
// Call the API
const apiInstance = new CoboWaas2.TransactionsApi();
const opts = {
EstimateFeeParams: CoboWaas2.EstimateFeeParams.constructFromObject({
request_type: "Transfer",
source: {
source_type: "Asset",
wallet_id: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
},
token_id: "ETH_USDT",
"destination": {
"destination_type": "Address",
"account_output": {
"address": "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
"memo": "",
"amount": "0.1"
}
},
"fee_type": "Fixed"
}),
};
apiInstance.estimateFee(opts).then(
(data) => {
console.log("API called successfully. Returned data: " + data);
},
(error) => {
console.error(error);
},
);
{
"fee_type": "EVM_EIP_1559",
"token_id": "TRON",
"fee_amount": "0.1",
"is_loop": false
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}import cobo_waas2
from cobo_waas2.models.estimate_fee_params import EstimateFeeParams
from cobo_waas2.models.estimated_fee import EstimatedFee
from cobo_waas2.rest import ApiException
from pprint import pprint
# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
# Replace `<YOUR_PRIVATE_KEY>` with your private key
api_private_key="<YOUR_PRIVATE_KEY>",
# Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cobo_waas2.TransactionsApi(api_client)
estimate_fee_params = cobo_waas2.EstimateFeeParams(
cobo_waas2.EstimateTransferFeeParams(
request_type="Transfer",
source=cobo_waas2.TransferSource(
cobo_waas2.CustodialTransferSource(
source_type="Asset",
wallet_id="f47ac10b-58cc-4372-a567-0e02b2c3d479",
)
),
token_id="TRON_USDT",
destination = cobo_waas2.TransferDestination(
cobo_waas2.AddressTransferDestination(
destination_type = "Address",
account_output = cobo_waas2.AddressTransferDestinationAccountOutput(
address = "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
amount = "1.5"
)
)
),
fee_type = "Fixed"
)
)
try:
# Estimate transaction fee
api_response = api_instance.estimate_fee(
estimate_fee_params=estimate_fee_params
)
print("The response of TransactionsApi->estimate_fee:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TransactionsApi->estimate_fee: %s\n" % e)
// Import classes:
import com.cobo.waas2.ApiClient;
import com.cobo.waas2.ApiException;
import com.cobo.waas2.Configuration;
import com.cobo.waas2.Env;
import com.cobo.waas2.api.TransactionsApi;
import com.cobo.waas2.model.*;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Select the development environment. To use the production environment, replace `Env.DEV` with
// `Env.PROD
defaultClient.setEnv(Env.DEV);
// Replace `<YOUR_PRIVATE_KEY>` with your private key
defaultClient.setPrivKey("<YOUR_PRIVATE_KEY>");
TransactionsApi apiInstance = new TransactionsApi();
EstimateFeeParams estimateFeeParams =
new EstimateFeeParams(
new EstimateTransferFeeParams()
.requestType(EstimateFeeRequestType.TRANSFER)
.source(
new TransferSource(
new CustodialTransferSource()
.sourceType(WalletSubtype.ASSET)
.walletId(UUID.fromString("f47ac10b-58cc-4372-a567-0e02b2c3d479"))))
.tokenId("TRON_USDT")
.destination(
new TransferDestination(
new AddressTransferDestination()
.destinationType(TransferDestinationType.ADDRESS)
.accountOutput(
new AddressTransferDestinationAccountOutput()
.address("19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku")
.amount("1.5")
)
)
)
.feeType(FeeType.FIXED)
);
try {
EstimatedFee result = apiInstance.estimateFee(estimateFeeParams);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransactionsApi#estimateFee");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
package main
import (
"context"
"fmt"
coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"
"github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2/crypto"
"os"
)
func main() {
estimateFeeParams := coboWaas2.EstimateFeeParams{
EstimateContractCallFeeParams: coboWaas2.NewEstimateContractCallFeeParams(
coboWaas2.EstimateFeeRequestType("Transfer"),
"ETH",
coboWaas2.ContractCallSource{
CustodialWeb3ContractCallSource: coboWaas2.NewCustodialWeb3ContractCallSource(
coboWaas2.ContractCallSourceType("Web3"),
"f47ac10b-58cc-4372-a567-0e02b2c3d479",
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
),
},
),
}
configuration := coboWaas2.NewConfiguration()
// Initialize the API client
apiClient := coboWaas2.NewAPIClient(configuration)
ctx := context.Background()
// Select the development environment. To use the production environment, replace coboWaas2.DevEnv with coboWaas2.ProdEnv
ctx = context.WithValue(ctx, coboWaas2.ContextEnv, coboWaas2.DevEnv)
// Replace `<YOUR_PRIVATE_KEY>` with your private key
ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
Secret: "<YOUR_PRIVATE_KEY>",
})
resp, r, err := apiClient.TransactionsAPI.EstimateFee(ctx).
EstimateFeeParams(estimateFeeParams).
Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TransactionsAPI.EstimateFee``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EstimateFee`: EstimatedFee
fmt.Fprintf(os.Stdout, "Response from `TransactionsAPI.EstimateFee`: %v\n", resp)
}
const CoboWaas2 = require("@cobo/cobo-waas2");
// Initialize the API client
const apiClient = CoboWaas2.ApiClient.instance;
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
apiClient.setEnv(CoboWaas2.Env.DEV);
// Replace `<YOUR_PRIVATE_KEY>` with your private key
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
// Call the API
const apiInstance = new CoboWaas2.TransactionsApi();
const opts = {
EstimateFeeParams: CoboWaas2.EstimateFeeParams.constructFromObject({
request_type: "Transfer",
source: {
source_type: "Asset",
wallet_id: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
},
token_id: "ETH_USDT",
"destination": {
"destination_type": "Address",
"account_output": {
"address": "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
"memo": "",
"amount": "0.1"
}
},
"fee_type": "Fixed"
}),
};
apiInstance.estimateFee(opts).then(
(data) => {
console.log("API called successfully. Returned data: " + data);
},
(error) => {
console.error(error);
},
);
Authorizations
The API key. For more details, refer to API key.
In the API playground, enter your API secret, and your API key will be accordingly calculated.
Body
The request body to estimate the transaction fee of a token transfer or a contract call.
- Transfer
- ContractCall
The information about a token transfer.
The request type. Possible values include:
Transfer: A request to transfer tokens.ContractCall: A request to interact with a smart contract.
Transfer, ContractCall "Transfer"
The information about the transaction source types Asset. Refer to Transaction sources and destinations for a detailed introduction about the supported sources and destinations for each transaction type.
Switch between the tabs to display the properties for different transaction sources.
- Asset
- Web3
- Org-Controlled/User-Controlled
- Safe{Wallet}
- Main/Sub
Show child attributes
Show child attributes
The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens.
"ETH_USDT"
The request ID that is used to track a transaction request.
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
The information about the transaction destination type Address. Refer to Transaction sources and destinations for a detailed introduction about the supported sources and destinations for each transaction type.
You need to specify either the account_output property or the utxo_outputs property.
You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. To do this, you should use the utxo_outputs property to specify the destination addresses.
Switch between the tabs to display the properties for different transaction destinations.
- Address
- CustodialWallet
- ExchangeWallet
Show child attributes
Show child attributes
The fee model. Possible values include:
Fixed: The fixed fee model.EVM_EIP_1559: The EIP-1559 fee model.EVM_Legacy: The legacy fee model.UTXO: The fee model used in UTXO-based blockchains, such as Bitcoin.SOL: The fee model used in Solana.FIL: The fee model used in Filecoin.
Each fee model requires a different set of properties. Switch between the above tabs for details.
To learn more about the fee models, refer to Fee models.
Fixed, EVM_EIP_1559, EVM_Legacy, UTXO, SOL, FIL "EVM_EIP_1559"
The ID of the transaction that this transaction replaced.
"aff0e1cb-15b2-4e1f-9b9d-a9133715986f"
Response
The request was successful.
- Fixed
- EVM_EIP_1559
- EVM_Legacy
- UTXO
- SOL
- FIL
The estimated transaction fee based on the fixed fee model.
For more details about the fixed fee model, see Fee models.
The fee model. Possible values include:
Fixed: The fixed fee model.EVM_EIP_1559: The EIP-1559 fee model.EVM_Legacy: The legacy fee model.UTXO: The fee model used in UTXO-based blockchains, such as Bitcoin.SOL: The fee model used in Solana.FIL: The fee model used in Filecoin.
Each fee model requires a different set of properties. Switch between the above tabs for details.
To learn more about the fee models, refer to Fee models.
Fixed, EVM_EIP_1559, EVM_Legacy, UTXO, SOL, FIL "EVM_EIP_1559"
The token used to pay the transaction fee.
"TRON"
The transaction fee that you need to pay for the transaction.
"0.1"
Was this page helpful?
