Skip to main content
POST
Writes the import record. The contract is detected again as part of the call, so the stored framework and metadata are the chain’s answer rather than anything you send. The record is what makes the token usable elsewhere. A Lending market can only be deployed against a token this instance has imported and holds as active.

Body Parameters

string
required
Contract to import, on the network your instance resolves to.
string
required
What the asset is. Your classification, not read from the chain, and not verified. One of PUBLIC_EQUITY, PRIVATE_EQUITY, REAL_ESTATE, COMMODITY, ART, WATCH, INFRASTRUCTURE, BOND, CRYPTO_ASSET.
string
Icon for the asset. An https:// or ipfs:// URI, at most 1024 characters. Pin one with Upload File if you do not host it yourself. Omit it or send an empty string to store none.

Response Fields

object
Importing writes a record and nothing else. No transaction is built, nothing is signed, and no claim is made over the token. The issuer of that token is unaffected by the import and does not learn of it.
An instance holds at most 200 active imports. The 201st is refused with IMPORT_LIMIT_REACHED. Remove one with Remove Import to free a slot.

Error Codes