Documentation Index
Fetch the complete documentation index at: https://docs.aeon.so/llms.txt
Use this file to discover all available pages before exploring further.
AeonClient.prepareSigning(params: PrepareSigningParams): AeonClient
This AeonClient method takes a txId (identifying a previously defined transaction intent) and a workspaceId to specify the context.
This method queues an operation. When aeonClient.build() is subsequently called, the backend service will:
- Retrieve the full transaction details associated with the provided
txIdandworkspaceId. - Ensure all necessary parameters for signing are present and valid. This can involve fetching current on-chain data such as the sender’s nonce or prevailing gas prices, especially if these were not finalized in the original transaction intent or need re-validation.
- Construct and serialize the transaction into a chain-specific signable format.
AeonClient instance is returned to allow for chaining of other operations before calling build().
Parameters
params:PrepareSigningParams- An object containing:txId:string- The unique identifier of a previously defined or simulated transaction intent. The backend uses this ID to retrieve the transaction details.workspaceId:string- The identifier of the workspace in which the transaction (txId) exists and is being prepared.