SVM Transfers
Build transactions for SOL and token transfers.
SOL Transfer
Transfer SOL to another address.
Endpoint: /svm/transfer/transaction
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Always |
recipient | string | Yes | Recipient public key |
amount | string | Yes | Amount in lamports |
wallet | string | Yes | Sender public key |
sendRoute | string | No |
|
prioFees | string | No | Priority fees (see below) |
bribeFees | string | Based on sendRoute | bribe fees (see below) |
nonceAccount | string | Based on sendRoute | Nonce account for transaction exclusivity |
Token Transfer
Transfer SPL tokens.
Endpoint: /svm/transfer/token/transaction
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Always |
token | string | Yes | Token mint address |
recipient | string | Yes | Recipient public key |
amount | string | Yes | Amount in token decimals |
wallet | string | Yes | Sender public key |
ensureRecipientAssociatedTokenAccount | boolean | No | Create ATA if needed (default: true) |
sendRoute | string | No |
|
prioFees | string | No | Priority fees (see below) |
bribeFees | string | Based on sendRoute | bribe fees (see below) |
nonceAccount | string | Based on sendRoute | Nonce account for transaction exclusivity |
Multi-Transfer
Send SOL to multiple recipients in one transaction.
Endpoint: /svm/transfer/multi/transaction
typescript
socket.emit("/svm/transfer/multi/transaction", {
chain: "sol",
wallet: "YourSolanaWalletPublicKey",
recipients: [
{ address: "Recipient1PublicKey", amount: "100000000" },
{ address: "Recipient2PublicKey", amount: "200000000" },
],
});