跳至主要內容

Get strategy bridges – Earn API

更新於
Jul 31, 2026

概覽

The strategy's cross-chain (CCTP) transfers, newest-first, limit 50. amount_usdc is a string; fee_usdc is a number or null.

Endpoint

GET https://earn-api.quicknode.dev/functions/v1/api/v1/strategies/{id}/bridges

Authorization

Include the published apikey header. This read request is public and does not require a SIWE signature.

參數

參數Location類型Required說明
id路徑字串是的Strategy UUID.

Example request

curl --request GET \
--url 'https://earn-api.quicknode.dev/functions/v1/api/v1/strategies/b7c1e2d3-0000-4000-8000-000000000001/bridges' \
--header 'Accept: application/json' \
--header 'apikey: <EARN_PUBLIC_API_KEY>'

回應

領域類型Required說明
transfersarray<object>是的Up to 50 CCTP transfers for the strategy, ordered newest first.
transfers[].id字串是的Transfer UUID.
transfers[].strategy_idstring | null是的Associated strategy UUID.
transfers[].source_chain_id整數是的Source chain ID.
transfers[].dest_chain_id整數是的Destination chain ID.
transfers[].amount_usdc字串是的USDC amount as a six-decimal base-unit string.
transfers[].burn_tx_hash字串是的CCTP burn transaction hash.
transfers[].relay_tx_hashstring | null是的Destination relay transaction hash.
transfers[].status字串是的`burn_submitted`, `attestation_pending`, `relay_submitted`, `confirmed`, or `user_claimed`.
transfers[].userstring | null是的Bytes32-padded beneficiary address.
transfers[].hooks_completed布林值是的Whether destination hooks completed.
transfers[].source_vaultstring | null是的Source vault address.
transfers[].dest_vaultstring | null是的Destination vault address.
transfers[].dest_vaultsarray<object> | null是的Destination vault allocation details.
transfers[].transfer_typestring | null是的`deposit`, `withdrawal`, or `null` for legacy rows.
transfers[].fee_usdcnumber | null是的Transfer fee in decimal US dollars.
transfers[].batch_idstring | nullIdentifier grouping sibling CCTP legs.
transfers[].created_at字串是的Creation timestamp in ISO 8601 format.
transfers[].updated_at字串是的Last-update timestamp in ISO 8601 format.

Example response

{
"transfers": [
{
"id": "9a8b7c6d-0000-4000-8000-000000000123",
"strategy_id": "b7c1e2d3-0000-4000-8000-000000000001",
"source_chain_id": 8453,
"dest_chain_id": 42161,
"amount_usdc": "400000000",
"burn_tx_hash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"relay_tx_hash": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"status": "confirmed",
"user": "0x1234567890abcdef1234567890abcdef12345678",
"hooks_completed": true,
"source_vault": null,
"dest_vault": "0x1a996cb54bb95462040408c06122d45d6cdb6096",
"dest_vaults": [
{
"apy": 5.117,
"name": "Gauntlet USDC Core",
"vault": "0x1a996cb54bb95462040408c06122d45d6cdb6096",
"amount": "400000000"
}
],
"transfer_type": "deposit",
"fee_usdc": null,
"batch_id": "6d5e4f3a-0000-4000-8000-000000000456",
"created_at": "2026-07-07T18:00:00.000Z",
"updated_at": "2026-07-07T18:04:12.000Z"
}
]
}

HTTP responses

狀態說明
200Bridge transfer rows.
400Invalid strategy id (a UUID is required).
429Rate limit exceeded. `Retry-After` (seconds) tells you when to retry. Reads, feedback, and push writes are keyed per IP; create/update/delete are keyed per wallet+IP; deposit/withdraw/claim calldata is keyed per strategy+IP.
500Internal server error.
OpenAPI source

This page is based on operation getStrategyBridgesEarn OpenAPI 3.1 specification.