Skip to content

Auth flow ​

AuthService issues two kinds of bearer session tokens, and MakerService additionally accepts a static organization API key. Pick the path that matches the caller:

PathHeaderMinted byLifetimeAccepted by
Keypair sessionauthorization: Bearer <token>Authenticate (signed nonce)6 hTxService, SessionService, SpreadProtectService, MakerService, EscalationService
Organization sessionauthorization: Bearer <token>VerifyLoginCode (passwordless email)7 dSpot MakerService / EscalationService with spot access; margin MakerService with perps access; API key management
Organization API keyx-api-key: <key>the dashboard, or CreateApiKeyuntil revokedThe same as a keypair session, for the products the organization can access. Keys issued before dashboard keys (not flint_-prefixed) reach only MakerService and EscalationService

MarketDataService, StatsService, HistoricalService, and the AuthService login RPCs are unauthenticated. CreateApiKey, ListApiKeys and RevokeApiKey need an organization session. Organization access to spot MakerService and EscalationService requires a spot maker ID; organization access to margin MakerService requires a perps maker/trader ID. An organization can have either ID or both; the two IDs identify different accounts even when their numbers match. Provisioning is done by Flint Labs — contact us if you haven't been set up yet.

An organization can also have login emails and neither ID yet. It can still sign in by email. The server then answers two maker RPCs for it, margin MakerService.GetSdkCredentials and MakerService.ClaimPerpMakerId, and returns PERMISSION_DENIED from its other spot and margin MakerService and EscalationService calls, spot GetSdkCredentials included, until an ID is assigned. ClaimPerpMakerId assigns the perps maker/trader ID to an organization enabled for self-serve perps (maker.claimPerpMakerId() on an email-session perps Maker in TypeScript). The margin RPCs answer only where the perps program is deployed, which is devnet and not mainnet; elsewhere they return UNAVAILABLE for such an organization. The MCP server's maker endpoint signs it in and lists only the public tools.

Spot MakerService.GetSdkCredentials — the RPC behind the dashboard's registry token card — requires an organization session with spot access; demo sessions are rejected with PERMISSION_DENIED. The returned token is stable and re-fetchable: every call returns the same credentials, so there is nothing to store. The margin RPC returns a token that belongs to the organization while it has neither ID, and the trader's token once a perps maker/trader ID is assigned.

The keypair path is multi-step and signed:

  1. Challenge(pubkey) — server returns a single-use random nonce bound to your pubkey, valid for a short TTL.
  2. Sign AUTH_DOMAIN_PREFIX || nonce (the raw bytes — no extra encoding) with the keypair owning the pubkey. The constant is b"SWEETSPOT-AUTH-V1:".
  3. Authenticate(pubkey, signature) — server verifies the signature, maps the pubkey to a maker_id via its registry, and returns a session_token plus an expires_at. If the pubkey is a quoting authority for more than one maker (a shared quoting key), pass the optional maker_id to pick which one — see Shared quoting keys.
  4. Use the token as authorization: Bearer <token> on subsequent RPCs.
  5. Re-auth before expires_at. The SDK helpers cache the token and refresh skew ahead of expiry automatically.

The passwordless email path is two RPCs:

  1. RequestLoginCode(email) — server emails a 6-character code (letters and digits; case doesn't matter), rate-limited to one request per email per minute.
  2. VerifyLoginCode(email, code) — server returns a 7-day session_token, expires_at, organization_name, and the IDs the organization has: maker_id (spot), perp_maker_id (perps), both, or neither.

All three SDKs drive the keypair handshake when you connect a spot Maker with a signer, and refresh the session skew ahead of expiry: spot::Maker in Rust and spot.Maker in Python (flow at maker.auth, a KeypairAuthFlow), and Maker.connect({ signer }) from @superis-labs/flint/spot in TypeScript, which takes a @solana/kit message signer. The TypeScript SDK also ships EmailAuthFlow for the email path; the Rust and Python SDKs have no email login flow.

All three SDKs expose the API key path: MakerBuilder::api_key in Rust, spot.Maker.connect(flint.ApiKey(key), cluster, maker_id=...) in Python, Maker.connect({ apiKey }) in TypeScript. See API keys for creating a key and quoting with one.

Wallet signer ​

The signer is intentionally narrow: produce a 64-byte ed25519 signature over an arbitrary byte slice, and return the corresponding 32-byte public key. This lets you back the same auth flow with a keypair file, hardware wallet, remote signer, or browser wallet adapter.

In Python the signer is any object with pubkey() and sign_message(bytes) (sync or async), such as a solders Keypair. In TypeScript it is a @solana/kit MessagePartialSigner, such as a KeyPairSigner.

rust
// The Rust SDK takes any `solana_sdk::signer::Signer` (`Keypair`,
// hardware wallet, presigner, remote signer) directly — typed as
// `Arc<dyn Signer + Send + Sync>`.
use std::sync::Arc;
use solana_sdk::signer::Signer;
use solana_sdk::signer::keypair::{read_keypair_file, Keypair};

// Local keypair file.
let kp: Keypair = read_keypair_file("/path/to/id.json")
    .map_err(|e| anyhow::anyhow!("{e}"))?;
let wallet: Arc<dyn Signer + Send + Sync> = Arc::new(kp);

// Hardware wallets / remote signers: implement `solana_sdk::signer::Signer`
// (`pubkey()`, `try_sign_message(...)`) and wrap with `Arc::new(...)`.
python
from solders.keypair import Keypair

import flint
from flint import spot

keypair = Keypair.from_json(open("/path/to/id.json").read())
maker = await spot.Maker.connect(keypair, flint.Cluster.mainnet())
ts
import { createKeyPairSignerFromBytes } from "@solana/kit";
import { Maker } from "@superis-labs/flint/spot";

const signer = await createKeyPairSignerFromBytes(
  new Uint8Array(JSON.parse(process.env.QUOTER_KEYPAIR_JSON!)),
);
const maker = await Maker.connect({ cluster: "mainnet", signer });

Shared quoting keys ​

A quoting key is usually a quoting authority for a single maker, in which case the server resolves the maker_id for you and nothing extra is needed. When the same key is registered as a quoting authority for more than one maker, pass the maker you want to authenticate as — the server scopes the session (and its rate-limit bucket) to exactly that maker, and rejects a maker_id the key isn't an authority for with UNAUTHENTICATED. If you omit maker_id for a shared key the server does not fail: it defaults to the lowest of the key's maker ids and logs a warning, so set maker_id to land on the maker you intend.

rust
let maker = Maker::builder()
    .cluster(Cluster::mainnet())
    .wallet(wallet)
    .maker_id(3) // only needed for a key shared across makers
    .build()
    .await?;
python
maker = await spot.Maker.connect(
    Keypair.from_json(open("/path/to/id.json").read()),
    flint.Cluster.mainnet(),
    maker_id=3,  # only needed for a key shared across makers
)

Refresh strategy ​

Maker runs the refresh loop for you and defaults to a 30 s skew before expiry. Override with MakerBuilder::auth_skew.Maker refreshes the session 30 s before expiry; maker.auth.token() returns the cached session, refreshing it first when it is inside the skew. Set a different skew with skew_seconds when you construct a spot.KeypairAuthFlow yourself.

Revoke ​

If you need to invalidate a token before its natural expiration (e.g. on logout), call revoke():

rust
maker.revoke().await?;
python
await maker.revoke()

The cached session is dropped; subsequent calls re-authenticate from scratch.

Errors ​

AuthService.Authenticate returns UNAUTHENTICATED when:

  • The pubkey has no outstanding nonce.
  • The nonce has expired (TTL exceeded).
  • The signature is invalid for the nonce.
  • The pubkey is not registered as a quoting authority.
  • A maker_id was supplied that the pubkey is not a quoting authority for.

A pubkey that is a quoting authority for more than one maker does not error when maker_id is omitted — the server defaults to the lowest of its maker ids and logs a warning (see Shared quoting keys).

The SDK surfaces these as Error::Authflint.AuthError, whose kind names the handshake step that failed. The gRPC status is preserved as the error's cause, a flint_sdk::ApiErrorflint.ApiError with its status code, so callers can branch on the code.

Python: keypair signed-nonce ​

The Python spot.KeypairAuthFlow drives the same handshake. spot.Maker.connect(...) runs it once; maker.auth.token() returns the cached session and re-authenticates skew seconds (default 30) before expires_at; maker.revoke() invalidates the token server-side and drops the cache. Use a public spot.Client for market-data and stats calls; it takes no credentials. Historical reads (historical_fills, historical_candles) are public too and live on spot.Client. Connect a spot.Maker for maker or tx RPCs; it has the same historical helpers, served through its public client. Pass a flint.Cluster (or "mainnet" / "devnet") — see Overriding the endpoint.

python
import asyncio

from solders.keypair import Keypair

import flint
from flint import spot


async def main() -> None:
    maker = await spot.Maker.connect(  # Challenge -> sign -> Authenticate
        Keypair.from_json(open("/path/to/id.json").read()),
        flint.Cluster.mainnet(),
    )
    print("authenticated as maker_id", maker.maker_id)

    await maker.auth.token()  # cached; re-auths near expiry
    await maker.revoke()  # invalidate + drop the cache
    await maker.close()


asyncio.run(main())

To wire it up by hand, construct spot.KeypairAuthFlow(signer, stub) over a flint.proto.spot.AuthServiceStub and stamp authorization: Bearer <token> from (await auth.token()).token on each authed RPC. Pass skew_seconds= to tune the refresh window.

TypeScript: passwordless email login ​

Browser apps authenticate against MakerService with the passwordless email flow. EmailAuthFlow drives the two RPCs, caches the resulting session, and produces an interceptor that stamps authorization: Bearer <token> on every outbound call.

ts
import { EmailAuthFlow, Maker } from "@superis-labs/flint/spot";

// baseUrl defaults to the mainnet public endpoint.
const auth = new EmailAuthFlow({
  storage: globalThis.localStorage,        // optional, survives reload
  onExpired: (session) => router.push("/login"),
});

await auth.requestLoginCode("trader@example.com");
// ...prompt the user...
const session = await auth.verifyLoginCode("trader@example.com", code);
console.log("logged in to", session.organizationName);

if (session.makerId !== undefined) {
  const maker = await Maker.connect({ cluster: "mainnet", emailSession: auth });
  const { balances } = await maker.balance();
}

Spot and perps access ​

In SDK 4.0.0, Session.makerId is optional and always means the spot maker ID. Session.perpMakerId is the optional perps maker/trader ID. Either, both or neither can be present; a session with neither belongs to an organization that has not been assigned an ID yet. Check !== undefined when selecting a product: ID 0 is valid. Both fields are bigint and support the full unsigned 64-bit range.

A Session holds the IDs the login returned. EmailAuthFlow does not refresh them, and a stored session rehydrates with the same IDs, so after Flint assigns an ID, log in again to get a session that names it. The MCP server's maker endpoint also keeps the IDs from its sign-in: it lists the maker tools only after you sign in to it again.

The same flow connects the perps Maker from @superis-labs/flint. Pass it as emailSession; traderId defaults to the session's perpMakerId:

ts
import { Maker } from "@superis-labs/flint";

if (session.perpMakerId !== undefined) {
  const perpsMaker = await Maker.connect({ cluster: "mainnet", emailSession: auth });
  const stats = await perpsMaker.stats();
}

Neither Maker.connect checks the session for an ID; the server decides each call. Without a spot maker ID the spot Maker connects with makerIdundefined. Without a perps maker/trader ID the perps Maker connects, its traderIds is empty and reading traderId throws InputError, unless you passed traderId to connect. Earlier releases are stricter, up to and including 10.0.1 on the 10.x line and 11.0.1 on the 11.x line: there verifyLoginCode(), adopt() and rehydration reject a session with neither ID, and in the 10.x and 11.x releases among them the perps Maker.connect throws that InputError itself.

For an organization with neither ID, the server answers the perps MakerService.GetSdkCredentials call and returns PERMISSION_DENIED from the other spot and perps MakerService and EscalationService RPCs. The perps call answers only where the perps program is deployed, so this example logs in to devnet; on mainnet it returns UNAVAILABLE:

ts
import { Maker } from "@superis-labs/flint";
import { EmailAuthFlow } from "@superis-labs/flint/spot";

const devnetAuth = new EmailAuthFlow({ baseUrl: "https://devnet.makerapi.flint.trade" });
await devnetAuth.requestLoginCode("trader@example.com");
const devnetSession = await devnetAuth.verifyLoginCode("trader@example.com", code);

if (devnetSession.makerId === undefined && devnetSession.perpMakerId === undefined) {
  const perpsMaker = await Maker.connect({ cluster: "devnet", emailSession: devnetAuth });
  const registry = await perpsMaker.sdkCredentials();
  console.log(registry.registryName, registry.indexUrl);
}

An organization with only a spot maker ID gets PERMISSION_DENIED from the perps MakerService, GetSdkCredentials included.

An email-session perps Maker refuses TxService, SessionService and SpreadProtectService calls; an API-key or keypair Maker reaches them.

Session persistence ​

EmailAuthFlow accepts any localStorage-shaped store (getItem / setItem / removeItem). Pass globalThis.localStorage in a browser, globalThis.sessionStorage for tab-scoped persistence, or any custom adapter (IndexedDB-backed, cookie-backed, in-memory) that implements the same three methods.

ts
const auth = new EmailAuthFlow({
  storage: globalThis.localStorage,
  storageKey: "sweetspot.session",  // default
});

On construction EmailAuthFlow rehydrates a session from storage if one is present. Both maker IDs and organizationName survive verification, adopt(), and reloads. IDs are stored as decimal strings. Legacy sessions with only makerId still restore as spot sessions, without perps access. organizationName is optional for compatibility with those sessions.

Malformed sessions and out-of-range IDs are rejected; invalid stored entries are removed. A session with neither ID is valid: verifyLoginCode(), adopt() and rehydration from storage accept it. On verifyLoginCode() the flow overwrites the entry; on clear() and on detected expiry it removes the entry.

Expiry callback ​

EmailAuthFlow does not auto-refresh — organization sessions are minted by a user-driven email flow, not a signer. Subscribe to onExpired and re-prompt:

ts
const auth = new EmailAuthFlow({
  onExpired: () => {
    // Storage already cleared. Send the user back to the login form.
    router.push("/login");
  },
  expirySkewMs: 60_000,  // treat as expired this long before expiresAt; default 30s
});

The callback fires once per session, inside the interceptor, just before it throws GrpcError(Unauthenticated) — wrapping for await loops will unwind on the next emission.

Organization API key ​

An API key authenticates the organization with no handshake and no keypair — the key is stamped on every request as x-api-key. That means a process can reach the maker API without ever holding key material.

ts
import { ApiKey } from "@superis-labs/flint";
import { Maker } from "@superis-labs/flint/spot";

const maker = await Maker.connect({ cluster: "mainnet", apiKey: new ApiKey(process.env.SUPERIS_API_KEY!) });
rust
use flint_sdk::Cluster;
use flint_sdk::spot::Maker;

let maker = Maker::builder()
    .cluster(Cluster::mainnet())
    .api_key(std::env::var("SUPERIS_API_KEY")?)
    // Only needed to quote: no handshake runs to resolve the spot maker ID.
    .maker_id(maker_id)
    .build()
    .await?;
// Note: no signed-nonce handshake — the key is presented on every request.
let balance = maker.balance(&[]).await?;
python
import os

import flint
from flint import spot

maker = await spot.Maker.connect(
    flint.ApiKey(os.environ["SUPERIS_API_KEY"]),
    flint.Cluster.mainnet(),
    maker_id=maker_id,  # only needed to quote: no handshake resolves it
)
# No signed-nonce handshake — the key is presented on every request.
balances = await maker.balance()

A dashboard key (flint_…) also reaches TxService, SessionService and SpreadProtectService, so an API-key maker can submit signed transactions and follow the chain tip like a keypair maker. It holds no signer: quote through external submission. Nothing resolves your maker_id without a handshake, so pass it explicitly.

API keys covers creating and rotating keys, what the server checks on each submission, and a complete remote-signer setup.

External submission ​

The Rust and Python SDKs can hand you each built quoting transaction instead of sending it itself. Everything else is unchanged — catalog reads, chain tip, sequence counters, packing, CU sizing and intent tagging all still happen in the SDK. Only delivery moves out.

QuoteBuilder::commit_externally is commit with the submission step swapped:

rust
use flint_sdk::spot::chain::quoting::QuoteBuilder;
use flint_sdk::spot::chain::types::Side;
use flint_sdk::spot::quoting::PendingTx;

let quote = QuoteBuilder::new()
    .order_list("SOL", |m| m.submit(Side::Buy, dec!(100.0), dec!(1.0)));

// The callback's future must be `'static`: clone what it needs into it.
let submitter = move |tx: PendingTx| {
    let transport = transport.clone();
    async move {
        // Deliver however you like; return the real signature.
        transport.send(&tx.bytes).await
    }
};
let receipt = quote.commit_externally(&mut core, &submitter).await?;

The callback runs once per packed transaction, concurrently across them. What it returns decides what happens next:

Callback returnsMeaningRetried?Receipt
Ok(signature)deliverednotracks signature
Ok(Signature::default())delivered, signature not known yetnointent in untracked_intents
Ok(signature) that doesn't sign the messagedelivered, but unusablenointent failed
Err(_)not deliveredper RetryConfig, rebuilt on a fresh blockhashintent failed once retries run out

Return Signature::default() when signing happens later in another system and the callback only hands the transaction off. Anything Ok counts as delivered, so it is never sent twice. The trade-off is that nothing can await an untracked transaction: SettledOutcome::is_complete() stays false while any intent is untracked, and a strategy switch whose params transaction is untracked fails with Error::StrategySwitch before the fair is sent. To switch strategy in that setup, send the new params in a tick without a fair update, then send fairs on the next tick.

Packing and the serialized strategy-switch path otherwise behave exactly as they do for commit. There is also QuotingCore::submit_instructions_externally for the instruction-level path, plus commit_externally_with_duration and commit_externally_with_retry.

Signed or unsigned ​

What the callback receives depends on how the core was started, not on which commit method you call. PendingTx::signed() says which, and PendingTx::signature carries the signature when there is one:

Core started withsigned()Your callback does
start_quoting(keypair)truedeliver tx.bytes as-is
start_quoting_external()falsesign tx.message, then deliver
rust
let maker = Maker::builder()
    .cluster(Cluster::mainnet())
    .api_key(api_key)
    .quoter_pubkey(quoter_pubkey)  // fee payer + required signer
    .maker_id(maker_id)
    .build()
    .await?;

// Holds no private key. `commit()` on this core is an error — quotes leave
// through `commit_externally`.
let mut core = maker.start_quoting_external().await?;

For an unsigned transaction, tx.message is exactly the payload the signature at index 0 must cover; the fee payer is the only required signer. Sign it wherever the key lives, then send tx.with_signature(signature), which checks the signature against the fee payer and returns the wire bytes. Never send tx.bytes of an unsigned transaction: its signature slot is an all-zero placeholder.

rust
let submitter = move |tx: PendingTx| {
    let (signer, transport) = (signer.clone(), transport.clone());
    async move {
        let signature = signer.sign(&tx.message).await?;
        transport.send(&tx.with_signature(signature)?).await?;
        Ok::<_, flint_sdk::Error>(signature)
    }
};

To deliver through flint-server, sign in the callback and hand the signed transaction to Maker::submit, which works for API-key makers too:

rust
let submitter = move |tx: PendingTx| {
    let (signer, maker) = (signer.clone(), maker.clone());
    async move {
        let signature = signer.sign(&tx.message).await?;
        maker.submit(tx.signed_transaction(signature)?).await
    }
};

Python ​

The Python SDK mirrors this. Maker.start_quoting_external returns a core that holds only the quoter pubkey, and QuotingCore.commit_externally awaits your submitter once per packed transaction, in order. commit on that core raises, and start_quoting on an API-key maker raises flint.AuthError with kind AuthErrorKind.NO_SIGNER.

python
import os

import flint
from flint import spot
from flint.spot.quoting import PendingTx

maker = await spot.Maker.connect(
    flint.ApiKey(os.environ["SUPERIS_API_KEY"]), flint.Cluster.mainnet(), maker_id=maker_id
)
core = await maker.start_quoting_external(
    quoter_pubkey=quoter_pubkey, program_id=program_id
)


async def submit(tx: PendingTx):
    signature = await remote_signer.sign(tx.message)
    return await maker.submit(tx.with_signature(signature))


builder = core.builder()
builder.oracle_fair(market, buy_price="1.5", sell_price="1.6")
receipt = await core.commit_externally(builder, submit)

PendingTx.signed is true on a keypair core, whose commit_externally hands over tx.transaction ready to send. A Python submitter that only hands the transaction off returns None (or Signature.default()); the rules in the table above apply unchanged.

How receipts settle for externally submitted transactions ​

A client with TxService access keeps its SubscribeTxStatus stream, and that stream reports two populations: transactions the server submitted, and transactions it merely observed on-chain signed by one of the maker's quoting authorities. Since quoter_pubkey is a quoting authority, an externally submitted quote is attributed back to you and its TxLandedEvent arrives on the same stream, with no wire discriminator. Receipts therefore settle normally without any extra work.

Two caveats follow from the server never having seen the transaction depart:

  • No ack. Observed transactions produce no TxAckEvent, so Receipt::accepted() is satisfied by the landing rather than resolving earlier.
  • No expiry. A dropped transaction produces no event at all — the server only expires what it submitted. Await with Receipt::landed_within(..) rather than landed(), or a dropped transaction waits forever.

The one place the SDK awaits a landing on your behalf — the serialized strategy-switch path, where the params transaction must land before the fair transaction is sent — is bounded by RetryConfig::landing_timeout (default 45 s, past the ~30 s a blockhash stays valid) for exactly this reason. Timing out returns Error::StrategySwitch and the fair is never sent, the same outcome as the params transaction failing.

Feeding chain tip and receipts ​

This only applies to a maker whose key TxService rejects (a key issued before dashboard keys, or a flint-server that predates API-key relay access), so it has no status stream and no chain-tip streams.

Both SDKs then read the chain tip from the solana_rpc endpoints (or the public endpoints for your network) and confirm every signature your callback returns over Solana RPC (getSignatureStatuses), feeding the outcome to the receipt. Configure your own RPC for production.

To drive the core from a watcher of your own instead, publish the values yourself:

rust
// Commits fail without a published slot, and wait (bounded) for a blockhash.
// Keep publishing: quotes are built against the latest values. Without a CU
// price, quotes carry no priority fee.
maker.publish_slot(slot);
maker.publish_blockhash(blockhash, last_valid_block_height, Some(cu_price));

// Optional: chain confirmation already settles receipts. A watcher holds a
// publisher, because commits borrow the core mutably while they wait.
let publisher = core.tx_outcome_publisher();
publisher.publish(TxOutcome::Landed { signature, slot });
python
from flint.spot.quoting import TxOutcome, TxOutcomeKind

maker.publish_slot(slot)
maker.publish_blockhash(blockhash, last_valid_block_height, recommended_cu_price=cu_price)

core.publish_tx_outcome(TxOutcome(TxOutcomeKind.LANDED, signature, slot=slot))

These values come from your own Solana RPC. A maker with TxService access needs none of this: its streams are open as usual.

See rust/flint-sdk/examples/external_signer.rs and python/examples/external_signer.py for a complete wiring.

Margin (perps) quoting ​

The root margin flint_sdk::Maker supports the same two capabilities. The org API key resolves server-side to the organization's perps trader, and margin MakerService — including GetQuotingState, which quoting reconciles against — accepts it, and so do TxService, SessionService and SpreadProtectService, exactly as on spot.

rust
use flint_sdk::quoting::{QuotingConfig, RetryConfig};
use flint_sdk::chain::quoting::QuoteBuilder;
use flint_sdk::{ApiKey, Cluster, Maker};

let maker = Maker::builder()
    .cluster(Cluster::mainnet())
    .api_key(ApiKey::new(api_key))
    .trader_id(perp_maker_id) // required: nothing resolves it
    .build()
    .await?;

// The signer is the trader owner or a TRADE delegate; only its pubkey is
// held here. Set `QuotingConfig::delegate_trader_account` for a delegate.
let mut core = maker
    .start_quoting_external(quoter_pubkey, QuotingConfig::default())
    .await?;

let mut submitted = core
    .commit_externally(
        QuoteBuilder::new().density_fair(perp_id, fair),
        &submitter,
        RetryConfig::default(),
    )
    .await?;
let outcome = submitted.receipt.settled_within(timeout).await?;

Differences from spot:

  • Maker::start_quoting_external(quoter, config) takes the quoter pubkey and a QuotingConfig; Maker::start_quoting(config) delivers signed transactions from the maker's wallet.
  • An API-key margin maker reads the chain tip and transaction status from flint-server like a keypair maker, with Solana RPC as the fallback. Quoting refuses to sign against a blockhash older than QuotingConfig::max_blockhash_age.
  • commit_externally returns the same SubmitResult as commit: accepted signatures in receipt, failed deliveries in failed. Intents whose unsigned transaction failed delivery have no signature and are reported as unknown.
  • QuotingCore::build_unsigned_transactions covers the instruction-group path.
  • An API-key margin maker errors on start_quoting (which signs with the maker's wallet), and Maker::signer() returns None.

Built on Solana