Skip to main content

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.

Send a transfer

Dashboard support for initiating transfers is coming soon. Use the SDK or cURL.

Parameters

ParameterTypeRequiredDescription
fromWalletIdstringYesThe managed wallet or child address ID to send from
fromWalletType'master' | 'child'YesWhether the source is a master wallet or child address
fromTokenTokenYesThe token to send from the source wallet
toAddressstringYesRecipient EVM address
toChainChainYesDestination chain
toTokenTokenYesToken the recipient receives
amountstringYesAmount as a decimal string (e.g., "10.00")

Response fields

FieldTypeDescription
idstringWalletTransaction ID (wtx_...)
walletIdstringSource wallet ID
routestringdirect, lifi-swap, or lifi-bridge
directionstringAlways outbound for transfers
fromTokenstringToken symbol sent
toTokenstringToken symbol received
fromChainstringSource chain
toChainstringDestination chain
amountstringHuman-readable amount
rawAmountstringAmount in token smallest unit
toAddressstringRecipient address
txHashstringOn-chain transaction hash
statusstringconfirmed (direct/swap) or pending (bridge)
confirmedAtstring | nullISO timestamp of confirmation, null while pending
createdAtstringISO timestamp of creation

Error handling

ErrorStatusCauseResolution
insufficient-balance422Not enough tokens in the source walletCheck balance with getBalance()
wallet-not-found404Wallet ID does not existVerify the wallet ID
address-format-invalid422toAddress is not a valid EVM addressUse a checksummed or lowercase EVM address
unsupported-token-pair422Token pair has no swap routeUse a supported token on the destination chain
bridge-unavailable503Li.Fi bridge temporarily unavailableRetry with exponential backoff