Skip to main content
POST
/
wallet-infra
/
transfer
Send a token transfer
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    fromWalletId: 'mwt_abc123',
    fromWalletType: 'master',
    fromChain: 'base',
    fromToken: 'USDC',
    toAddress: '0x...',
    toChain: '<string>',
    toToken: 'USDC',
    amount: '10.00'
  })
};

fetch('https://api.prudra.dev/wallet-infra/transfer', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "txHash": "0xabc...",
  "fromChain": "base",
  "toChain": "polygon",
  "fromToken": "USDC",
  "toToken": "USDC",
  "amount": "10.00",
  "route": "direct",
  "status": "confirmed"
}

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
fromWalletId
string
required
Example:

"mwt_abc123"

fromWalletType
enum<string>
required
Available options:
master,
child
fromChain
enum<string>
required
Available options:
base,
ethereum,
optimism,
arbitrum,
polygon,
tempo,
base-sepolia,
eth-sepolia,
tempo-moderato
fromToken
string
required
Example:

"USDC"

toAddress
string
required
Example:

"0x..."

toChain
string
required
toToken
string
required
Example:

"USDC"

amount
string
required

Human-readable decimal amount

Example:

"10.00"

Response

Transfer complete or initiated

txHash
string
required
Example:

"0xabc..."

fromChain
string
required
Example:

"base"

toChain
string
required
Example:

"polygon"

fromToken
string
required
Example:

"USDC"

toToken
string
required
Example:

"USDC"

amount
string
required
Example:

"10.00"

route
enum<string>
required
Available options:
direct,
lifi-swap,
lifi-bridge
status
enum<string>
required
Available options:
confirmed,
pending