Submit

Submit signed transactions to the blockchain for Tournament operations for Forge Digital Ventures

Submitting Signed Transactions

Endpoint: POST /tournaments/submit-tx

CRITICAL: This endpoint is required to complete all Tournament operations. Each transaction-generating endpoint (tournament creation, registration, adding participants, settlement) returns an unsigned transaction that must be signed and submitted using this endpoint.

Request Parameters:

  • transaction (string): Hex-encoded signed transaction

  • signatures (string[], optional): Array of additional signatures to add to the transaction

Response:

  • txHash (string): Transaction hash of the successfully submitted transaction

circle-exclamation

Technical Notes:

  • All tournament operations follow a two-step process:

    1. Generate an unsigned transaction using one of the endpoints

    2. Sign the transaction and submit it using this endpoint

  • Multiple signatures can be combined in a single submission

  • The transaction hash returned can be used to track the transaction on the blockchain

Example (Node.js with fetch):

circle-info

For more details on transaction creation, signing, and the complete Anvil API transaction process, see the Transaction Overview documentation.

Last updated

Was this helpful?