Endpoints

An example script that interacts with the node is available in the Quick start.
When preparing transaction to send, use transaction.serialize({requireAllSignatures: false}) for serialization. Since the transaction doesn't yet have a fee payer signature, it is considered invalid by web3.js.

Clusters

Each endpoint targets specific Solana cluster.
Cluster
Hosted Octane endpoint
devnet
https://octane-devnet.breakroom.show/api/
mainnet-beta
https://octane-mainnet-beta.breakroom.show/api/

Get node configuration

Before attempting to sign transactions, load Octane node configuration to correctly set token fee and fee payer.
Devnet node can accept any token transfer as fee payment. You shouldn't use mint and account fields of token fee configurations when working with a devnet Octane instance.
get
https://octane-mainnet-beta.breakroom.show/api
/
Node configuration

Create a new associated token account

post
https://octane-mainnet-beta.breakroom.show/api
/createAssociatedTokenAccount
New associated token account

Submit an arbitrary transaction

post
https://octane-mainnet-beta.breakroom.show/api
/transfer
Sign arbitrary transaction

Build a Whirlpools swap transaction

post
https://octane-mainnet-beta.breakroom.show/api
/buildWhirlpoolsSwap
Build a Whirlpools swap transaction

Send Whirlpools swap

post
https://octane-mainnet-beta.breakroom.show/api
/sendWhirlpoolsSwap
Send Whirlpools swap