## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.Attest Deposit
Attest a deposit transaction so its funds become claimable via the withdrawal flow
How do programmatic withdrawals work?
[!NOTE] Unlike the other withdrawal endpoints, chainId here is the numeric Relay chain id. These endpoints power relay.link/withdraw and are not yet a versioned API surface.OpenAPI
openapi: 3.0.3
info:
title: Cross-chain solver
version: 1.0.0
servers:
- url: https://api.relay.link
description: Mainnet API
- url: https://api.testnets.relay.link
description: Testnet API
security: []
paths:
/withdrawals/attest-deposit:
post:
requestBody:
content:
application/json:
schema:
type: object
required:
- chainId
- transactionId
properties:
chainId:
type: number
gateway:
type: boolean
transactionId:
type: string
hints:
type: object
additionalProperties: false
properties:
atlas-vm:
type: object
additionalProperties: false
required:
- depositor
properties:
depositor:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
required: true
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
required:
- success
- execution
properties:
success:
type: boolean
execution:
type: object
required:
- chainId
- oracleAddress
- idempotencyKey
properties:
chainId:
type: integer
oracleAddress:
type: string
idempotencyKey:
type: string
This documentation is built and hosted on Mintlify, a developer documentation platform.