New Lambda

Using this API, developers will be able to create a new Lambda. You can bring your own smart contract and it will managed by MetaKeep Lambda Infrastructure.

  "status": "QUEUED",
  "lambda": "0xf73C3734837fEF48473970CD1E89FDC2fBCf0AD9",
  "transactionId": "2d59c2f4-9766-451d-91f2-b7bcb96f51d0",
  "transactionHash": "0xb1470e0c34729974bee524b9eced35d1d553bd26e184679aa7a9e77c7571884f",
  "transactionChainScanUrl": ""

Upon calling this API, a transaction is raised and submitted to the Queue on the blockchain. MetaKeep, behind the scenes, employs several strategies to make sure transactions succeed, and at the lowest cost.


Send contract owner's address explicitly in the constructor of your contract

If you are using access control mechanisms like OpenZeppelin's Ownable or AccessControl contracts, make sure to send the owner address explicitly in the constructor of your contract. Do not use msg.sender since it will be one of MetaKeep's gas accounts when creating the lambda.

You can get the status of this blockchain transaction by querying for transaction status by copying transactionId from this API response and querying it in Transaction Status API.


Replaying this API

Once you get a status response as QUEUED, replaying this API doesn't give you the latest status; Replaying the same API with the same Idempotency-Key results in the same response, always with status-QUEUED. You must query the Transaction Status API for the latest status.

As you would learn from the Transaction Status API docs, if a transaction failed, MetaKeep would have exhausted all feasible smart AI-based strategies to recover from failure, that would have been attempted by humans, and the "FAILED" status, if shown, is final.

Gas Limit

This API currently has gas limit set to 8000000(8M). If you need a higher gas limit, please let us know.

Gas Price

The API sets the right gas price for the transaction based on AI and statistical analysis of the current network conditions for fast and reliable transaction confirmation. If you want even faster confirmation, you can tune the transaction speed in the app settings.


Api Error Status

You can find error status returned by the api here.

© Copyright 2024, Passbird Research Inc.

Click Try It! to start a request and see the response here!