Updates gas station configuration for a wallet
Result<WalletGasStationConfigurationClientModel> containing the updated configuration with current wallet balance, connected wallets count, and all gas station settings.
Identifier of the tenant.
Identifier of the tenant wallet.
Request containing gas station configuration values.
Describes the configuration options for turning a wallet into a gas station or updating its refill behavior.
Identifier of the wallet tenant being configured.
1001
Indicates whether the wallet functions as a gas station.
true
Identifier of the custodian managing the gas station wallet, when applicable.
7
Indicates whether automatic refueling is enabled for this wallet.
true
Minimum balance that triggers an automatic refuel.
0.25
Amount of gas to add when an automatic refuel is executed.
1.5
Wallet tenant identifier to draw funds from during auto refuel operations.
2001
If gas station mode is disabled, represents the replacement wallet for nested auto refuel chains.
3001
Wallet gas station configuration updated successfully.
Wrapper for API operation results containing success status, error information, and return value.
True if the operation completed successfully, false otherwise.
true
True if the operation failed, false otherwise.
false
Error information returned when the operation fails.
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}The result value returned when the operation is successful.
{
"walletTenantId": 1001,
"walletBalance": 12.34,
"walletNetwork": "Ethereum Sepolia",
"walletCoinName": "ETH",
"walletNetworkIcon": "iVBORw0KGgoAAAANSUhEUgAAAAUA",
"walletAddress": "0xAbCDEF0123456789abcdef0123456789AbCdEf0",
"walletName": "Treasury Wallet",
"walletId": 501,
"blockchainId": 42,
"isGasStation": true,
"gasStationWalletCustodianId": 7,
"autoRefuelIsEnabled": true,
"autoRefuelSourceWalletTenantId": 2001,
"autoRefuelMinimumBalance": 0.25,
"autoRefuelRefuelAmount": 1.5,
"connectedGasStationWalletsCount": 3,
"connectedGasStationWalletsWithNestedCount": 5
}