PublishResponse
Properties
nftAddress
- Type:
string
The data NFT holding the asset's metadata.
services
- Type:
PublishedService[]
One entry per service that got a new datatoken in this call — every service on publish, and only re-priced services on edit.
declare const : PublishedService
. // the builder object, with its datatoken filled in
.
. // the transaction that created itddo
- Type:
Record<string, unknown>
The DDO as published, including its derived did:ope: id. Read it through the exported
helpers (getMetadata, getServices, …) rather than indexing into credentialSubject.
credential
- Type:
{ jwt: string; issuer: string } | undefined
The signed verifiable credential the on-chain pointer refers to. issuer is the holder DID
when signing through walt.id, or the signer's address when using the default
Eip191VcSigner.
New in v2: v1 wrote the DDO itself on chain and had nothing to sign.
setMetadataTxReceipt
- Type:
TransactionReceipt
The setMetadata transaction that wrote the pointer.
indexed
- Type:
boolean | undefined
Present only when you passed { waitForIndexer: true }. true means the asset is
resolvable now.