Skip to main content
GET
/
vault
/
accounts
/
{vaultAccountId}
/
virtual_asset_wallet
/
usdc_gateway
/
deposit_automation
TypeScript
const response: Promise<FireblocksResponse<GetAutomationSettingsResponse>> = fireblocks.vaults.getUsdcGatewayDepositAutomationBeta(vaultsApiGetUsdcGatewayDepositAutomationBetaRequest);
CompletableFuture<ApiResponse<GetAutomationSettingsResponse>> response = fireblocks.vaults().getUsdcGatewayDepositAutomationBeta(vaultAccountId);
response = fireblocks.vaults.get_usdc_gateway_deposit_automation_beta(vault_account_id);
curl --request GET \
--url https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation
const options = {method: 'GET'};

fetch('https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
require 'uri'
require 'net/http'

url = URI("https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "settings": [
    {
      "automationId": "b68a9e08-b59c-4ff9-893f-52d4f78c21e6",
      "vaultAccountId": "42",
      "assetId": "USDC_ETH",
      "automationType": "USDC_GATEWAY_DEPOSIT",
      "timeBased": {
        "intervalValue": 60,
        "intervalUnit": "MINUTES"
      }
    }
  ]
}
{
"message": "<string>",
"code": 123
}

Path Parameters

vaultAccountId
string<numeric>
required

The ID of the vault account

Response

USDC Gateway deposit automations

settings
object[]
required

The deposit automations configured for the vault account.

Example:
[
{
"automationId": "b68a9e08-b59c-4ff9-893f-52d4f78c21e6",
"vaultAccountId": "42",
"assetId": "USDC_ETH",
"automationType": "USDC_GATEWAY_DEPOSIT",
"timeBased": {
"intervalValue": 60,
"intervalUnit": "MINUTES"
}
}
]