Skip to main content
POST
Create an ArcherAccount

Authorizations

X-API-Key
string
header
required

Body

application/json
signer
string
required

The wallet that will own the account. Signs and pays the rent. Existing clients may keep sending it as owner; send one name only.

Example:

"GLKCuotKSjPtQhxHmf6q8GUkw6tUZnzs8W5vEbxdaBdK"

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.

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.