Execute Lambda API
The executeLambda is a JSON-RPC endpoint that handles is used to execute a given lambda. It takes lambda_uuid and params as inputs and returns an error or signature.
Request Spec
HTTP Method: POST
N/A
Body:
id: String -> Unique Lambda UUID obtained during creaction
params: Array -> List of arbitrary inputs you want to pass during execution.
Response Spec
result: String -> Error message or Wallet Signature
Request Example
POST / HTTP/1.1
Host: tiramisu.0xpass.io
Content-Type: application/json
{
"jsonrpc": "2.0",
"method": "executeLambda",
"params": {
"data": {
"id": "15363182-f572-40ee-ba2a-efee4c8a3691",
"params": []
}
},
"id": 3
}Response Example
Success:
Error:
Last updated