Get
New site!
All content has been migrated to docs.dash.org. You will be automatically redirected momentarily.
Usage: client.platform.contracts.get(contractId)
Description: This method will allow you to fetch back a contract from its id.
Parameters:
parameters | type | required | Description |
---|---|---|---|
identifier | string | yes | Will fetch back the contract matching the identifier |
Example: await client.platform.contracts.get('77w8Xqn25HwJhjodrHW133aXhjuTsTv9ozQaYpSHACE3')
Returns: Contract (or null
if it's not a registered contract).
Updated about 1 year ago