Skip to main content
POST
/
wallet-infra
/
byo-wallets
Register a BYO wallet
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    address: '0x742d35Cc...',
    chain: 'base',
    supportedTokens: ['USDC'],
    name: '<string>',
    metadata: {}
  })
};

fetch('https://api.prudra.dev/wallet-infra/byo-wallets', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "byw_abc123",
  "address": "0x...",
  "chain": "base",
  "isActive": true,
  "amlStatus": "pending",
  "name": "<string>",
  "supportedTokens": [
    "<string>"
  ],
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Body

application/json
address
string
required
Example:

"0x742d35Cc..."

chain
enum<string>
required
Available options:
base,
ethereum,
optimism,
arbitrum,
polygon,
tempo,
base-sepolia,
eth-sepolia,
tempo-moderato
supportedTokens
string[]
required
Example:
["USDC"]
name
string
metadata
object

Response

Wallet registered

id
string
required
Example:

"byw_abc123"

address
string
required
Example:

"0x..."

chain
string
required
Example:

"base"

isActive
boolean
required
amlStatus
enum<string>
required
Available options:
pending,
clear,
flagged
name
string | null
supportedTokens
string[]
createdAt
string<date-time>