---
title: "Provision an onchain wallet"
method: POST
path: "/agent/wallet/provision"
tags: ["Wallet"]
---

# Provision an onchain wallet

`POST /agent/wallet/provision`

## Request

- Base URL: `https://api.trusteed.xyz/api/v1`
- URL: `https://api.trusteed.xyz/api/v1/agent/wallet/provision`
- Auth: API key in header `X-Agent-Api-Key`

Provision a Coinbase CDP wallet for the calling agent identity, for x402 settlement. One wallet per agent identity.

## Request body

- ProvisionWalletRequest
  - `network` 'eip155:8453' | 'eip155:84532': CAIP-2 chain id. 8453 = Base mainnet, 84532 = Base Sepolia.

## Response `201`

Wallet provisioned successfully

## Other responses

- `400`: Invalid network
- `409`: A wallet already exists for this agent identity

---

[API](https://skmtc.dev/trusteed/apis/trusteed-api.md) · [All operations](https://skmtc.dev/trusteed/apis/trusteed-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trusteed/apis/trusteed-api/revisions/14ce607accce?raw)
