post/v2/api/contracts/{network}/lock

Request

  • Base URL
    https://locksmith.unlock-protocol.com
  • URL
    https://locksmith.unlock-protocol.com/v2/api/contracts/{network}/lock
  • Auth
    • HTTP bearer
    • or API key in query parameter api-key

Path parameters

networkinteger required

Network id.

Headers

captchastring required

Recaptcha value to pass.

Request body

namestring
expirationDurationstring nullable
maxNumberOfKeysstring nullable
keyPricestring
creatorstring nullable
currencyContractAddressstring nullable
publicLockVersionnumber nullable

Response

Transaction hash of the lock creation transaction.

transactionHashstring

Changes

No recorded changes to this operation across all 50 revisions of this API.