Skip to main content
Gets a cooperative exit request by ID for the SparkWallet.

Method Signature

Parameters

string
required
The withdrawal request ID returned by withdraw(). Not the on-chain transaction ID.Format: SparkCoopExitRequest:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Returns

CoopExitRequest | null
required
The cooperative exit request details or null if not found
The transfer field can be absent while a withdrawal is progressing. Poll the request and check for the field before reading transfer details.

Example