Skip to main content
POST
Deposit into an ArcherAccount

Authorizations

X-API-Key
string
header
required

Body

application/json

Provide mint + amount and/or lamports.

signer
string
required

The wallet that signs. Must be the account's owner; the funds leave this wallet. Existing clients may keep sending it as owner; send one name only.

Example:

"GLKCuotKSjPtQhxHmf6q8GUkw6tUZnzs8W5vEbxdaBdK"

amount
string

Token amount, decimal string in the mint's units.

Example:

"1.5"

lamports
integer<int64>

SOL to deposit as lamports held by the account PDA itself — spendable as rent for maker books, withdrawable with withdraw.

mint
string

Token to deposit into the account's token account (created if needed).

Example:

"So11111111111111111111111111111111111111112"

platform
enum<string>
default:self

Which platform's account. A wallet holds one account per platform, each independently delegated.

Available options:
self,
treadfi
withInstructions
boolean | null
default:false

Also return the unsigned instructions under instructions, for composing your own transaction instead of signing ours. Omitted or false leaves the response exactly as it was.

wrapSol
boolean
default:true

For the native mint: wrap SOL from the owner straight into the account's wSOL token account.

Response

An unsigned transaction for the owner to sign.

action
enum<string>
required
Available options:
create,
setDelegate,
revokeDelegate,
deposit,
withdraw
addressLookupTables
string[]
required
archerAccount
string
required

The ArcherAccount PDA the action targets.

transaction
string
required

Base64-encoded unsigned transaction for the owner to sign.

instructions
object | null

Unsigned instructions, present only when the request set withInstructions.