approveAndSubmit

suspend fun approveAndSubmit(request: ApproveDelegationRequest, options: DelegationSubmitOptions = DelegationSubmitOptions()): Result<DelegationSubmitResult>

Approves a delegation and signs/broadcasts the resulting transaction(s) in one call.

Constructs the approval transaction(s) via approve, then signs and submits each transaction sequentially. Confirmation is not awaited; callers can use DelegationSubmitResult.hashes to track confirmations themselves.

Return

A Result containing the broadcast transaction hashes, or an error if the operation fails.

Parameters

request

The approval request containing chain, token, delegateAddress, and amount.

options

Optional per-call signer override and progress callback.