Skip to main content

Contracts by source endpoint

Method: GET

/gateway/contracts-by-source?id=<id>&limit=<limit>&page=<page>&sort=<sort> - lists all the contracts that have been deployed based on the indicated source transaction id

Parameters:

  1. id - id of the contract source transaction
  2. limit [optional] - limits records to specific number
  3. page [optional] - lists contracts for specific page number
  4. sort [optional] - sorts contracts in ascending or descending order (by default contracts are not sorted anyhow)

Examples:

  1. https://gateway.warp.cc/gateway/contracts-by-source?id=aDeOsZuiu74fejWIsXAHCGPAW0KSRzINAsRxJFpCH6A
  2. contracts by source limited to 15, sorted in descending order, listing page 1 https://gateway.warp.cc/gateway/contracts-by-source?id=aDeOsZuiu74fejWIsXAHCGPAW0KSRzINAsRxJFpCH6A&limit=15&page=1&sort=desc