Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In

🚧

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:

parameterstyperequiredDescription
identifierstringyesWill 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).