Skip to main content
POST
Serialize instructions as a v1 transaction
Guide: Transactions.

Authorizations

x-api-key
string
header
required

Body

application/json
payer
string
required

Fee payer and first signer; it need not appear in any instruction

instructions
object[]
required
Required array length: 1 - 64 elements
blockhash
string
required

A recent blockhash, base58

config
object

Response

The unsigned v1 transaction

swapTransaction
string
required

The unsigned v1 transaction, base64

txVersion
string
required
Allowed value: "v1"
bytes
integer
required

Serialized size (at most 4096)

instructions
integer
required

Number of instructions