CrowdTrendz Perpetuals icon

CrowdTrendz Perpetuals

Interact with Strike Finance perpetual trading platform via API

Sign & Submit Transaction

AI-generated

Summary

Sign a Cardano transaction CBOR using a wallet mnemonic and submit it to the Strike Finance network via the Koios provider.

Inputs

  • Strike API Base URL — Base URL for the Strike Finance API, defaults to 'https://app.strikefinance.org/api'.
  • Network (required) — Cardano network to use; one of 'mainnet', 'testnet', or 'preprod'.
  • Address Index — Index of the wallet address to use for signing, applicable when generating address from wallet. Defaults to 0.
  • Transaction Source (required) — Source of the transaction CBOR to sign and submit. Options are: 'From Input (cbor field)', 'From Input (transaction field)', or 'Manual Input'.
  • Transaction CBOR (required) — Transaction CBOR string to be signed and submitted, required if 'Transaction Source' is set to 'Manual Input'.

Output shape

a single JSON object representing the submission result

The output includes status and transaction ID on success, or an error message on failure. Fields include 'status', 'transactionId', 'signedTransaction', 'submissionEndpoint', 'provider', 'network', 'timestamp', and 'witnessAdded'. On error, 'error', 'network', 'timestamp', and 'debugInfo' are included.

Links

Discussion