Skip to main content
POST
Submit self-funded transaction

Authorizations

Authorization
string
header
required

Scoped API key from the Totalis app settings. Each key acts for one account, yours or a maker's, and holds only scopes that account can use. Each operation lists the scopes it requires.

Headers

Idempotency-Key
string<uuid>
required

Lowercase UUIDv7 naming this command, unique per caller and route. A retry with the same key and body returns the original result; the same key with a different body returns 409 IDEMPOTENCY_KEY_REUSED.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Parameters

maker_id
string<uint64-decimal>
required

On-chain maker ID, as a decimal string. The credential must be authorized for this maker. Never 0.

Maximum string length: 20
Pattern: ^(0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]|1844674407370955161[0-5])$
operation_id
string
required

Operation ID returned by the admission call whose exact transaction was signed.

Pattern: ^0x[0-9a-f]{64}$

Body

application/json
signed_transaction
string
required

Raw signed EIP-1559 (type 2) transaction as lowercase hex. It must target the vault on the environment chain with zero value and the operation's exact calldata. The contract call is permissionless: the signature inside the transaction is what authorizes it.

Maximum string length: 262146
Pattern: ^0x02[0-9a-f]+$

Response

Accepted for broadcast. Totalis checks the signed transaction against this operation and broadcasts it; it never holds the gas wallet's key or chooses its nonce.

operation_id
string
required

Operation the transaction was attached to.

Pattern: ^0x[0-9a-f]{64}$
status
enum<string>
required

Operation status after the transaction was attached.

Available options:
QUEUED,
IN_FLIGHT,
RETRYABLE,
UNKNOWN,
COMMITTED,
REVERTED,
EXPIRED_UNEXECUTED
transaction_hash
string
required

Hash of the attached signed transaction.

Pattern: ^0x[0-9a-f]{64}$