post

suspend fun post(path: String, body: JsonObject): JsonElement

POSTs body to path and returns the decoded response.

Errors are mapped onto CIP-0103 codes by mapError; the participant's traceId rides along in DappException.data so a dApp can quote it.