approve

abstract suspend fun approve(request: DappApprovalRequest): DappApproval

Presents request to the user and suspends until they answer.


open suspend fun approve(request: DappApprovalRequest, context: DappRequestContext): DappApproval

approve with what the transport knew, such as the dApp's deadline. The default drops the context; a wallet that keeps the dApp's clock overrides this one.