Endpoints
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.
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/ |
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
post
https://octane-mainnet-beta.breakroom.show/api
/createAssociatedTokenAccount
New associated token account
post
https://octane-mainnet-beta.breakroom.show/api
/transfer
Sign arbitrary transaction
post
https://octane-mainnet-beta.breakroom.show/api
/buildWhirlpoolsSwap
Build a Whirlpools swap transaction
post
https://octane-mainnet-beta.breakroom.show/api
/sendWhirlpoolsSwap
Send Whirlpools swap
Last modified 8mo ago