{
  "x402Version": 2,
  "id": 199,
  "slug": "199",
  "resource": "https://x402.ottoai.services/hl-deposit-withdraw",
  "description": "Deposit or withdraw USDC to/from Hyperliquid via Arbitrum. Intelligent routing: checks Arbitrum Safe first, auto-bridges from Base if needed, falls back to Butler wallet.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5bB4B0C766E0D5D791d9403Fc275c22064709F68",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5bB4B0C766E0D5D791d9403Fc275c22064709F68",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "action": "deposit",
            "amount": 100
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "action": "deposit",
            "amount": 100,
            "as_of": "2026-07-26T12:00:00.000Z",
            "credited": true,
            "status": "success",
            "txHash": "0x..."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "action": {
                    "description": "Direction",
                    "enum": [
                      "deposit",
                      "withdraw"
                    ],
                    "type": "string"
                  },
                  "amount": {
                    "description": "USDC amount (human-readable)",
                    "type": "number"
                  }
                },
                "required": [
                  "action",
                  "amount"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "action": {
                    "type": "string"
                  },
                  "action_required": {
                    "description": "Present on every non-accepted outcome: your funds need you to look before acting again.",
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "number"
                  },
                  "as_of": {
                    "description": "ISO-8601 time the reported balance/delegation state was read.",
                    "type": "string"
                  },
                  "credited": {
                    "description": "Deposits: whether the Hyperliquid balance increase was observed before the response was returned.",
                    "type": "boolean"
                  },
                  "destination": {
                    "description": "Withdrawals: where the funds are being sent.",
                    "type": "string"
                  },
                  "error": {
                    "type": "string"
                  },
                  "evidence": {
                    "description": "How the outcome was established. Always 'venue-response' for accepted/rejected — withdraw3 carries no per-request identifier, so this is verified BY RESPONSE, not correlated by id.",
                    "enum": [
                      "venue-response",
                      "none"
                    ],
                    "type": "string"
                  },
                  "outcome": {
                    "description": "The venue's verdict on this withdrawal. 'not_submitted' means nothing reached the venue at all.",
                    "enum": [
                      "accepted",
                      "rejected",
                      "unknown",
                      "not_submitted"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "'pending_credit' when a deposit's bridge transfer is confirmed on Arbitrum but the Hyperliquid balance had not yet increased when the state was last read. 'submitted' when a withdrawal is accepted by the venue but the transfer has not yet landed — accepted is verified by the venue's response, and withdraw3 returns no per-request id to correlate on. 'unknown' when the request was sent and its outcome could NOT be established: your funds may or may not have moved, so check both balances before retrying — retrying may withdraw or bridge twice. 'failed' means the venue refused and your funds did not move. Only a verified acceptance is charged for.",
                    "enum": [
                      "success",
                      "pending_credit",
                      "submitted",
                      "unknown",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "tradingEnabled": {
                    "description": "Whether this account's trading delegation is in place. A deposit can land before delegation completes.",
                    "type": "boolean"
                  },
                  "txHash": {
                    "description": "Deposits: the vault-to-bridge transfer hash.",
                    "type": "string"
                  },
                  "vaultAddress": {
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_hc2dhq09"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "10000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x5bB4B0C766E0D5D791d9403Fc275c22064709F68",
              "resourceUrl": "https://x402.ottoai.services/hl-deposit-withdraw",
              "scheme": "exact",
              "validUntil": 1787958440,
              "version": 1
            },
            "signature": "0x91b2165159305e02206aa4bcf952a5b7d471fd15d3eb739edd8a903aab8263a76b6ec16b017d253cd59012a83ef2f03387111c137bda8cfb21db06151144009d1c"
          },
          {
            "acceptIndex": 1,
            "format": "eip712",
            "payload": {
              "amount": "10000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x5bB4B0C766E0D5D791d9403Fc275c22064709F68",
              "resourceUrl": "https://x402.ottoai.services/hl-deposit-withdraw",
              "scheme": "exact",
              "validUntil": 1787958440,
              "version": 1
            },
            "signature": "0x91b2165159305e02206aa4bcf952a5b7d471fd15d3eb739edd8a903aab8263a76b6ec16b017d253cd59012a83ef2f03387111c137bda8cfb21db06151144009d1c"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "offer-receipt",
    "payment-identifier"
  ],
  "sourceHost": "x402.ottoai.services",
  "lastUpdated": "2026-08-28T23:02:20.815Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-28T23:02:20.421Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.ottoai.services",
    "manifest_name": "x402.ottoai.services",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}