toChain
toChain(
did
):CordAddress
Format a DID to be used as a parameter for the blockchain API functions.
Parameters
• did: did:cord:3${string}
The DID to format.
Returns
CordAddress
The blockchain-formatted DID.
toChain(
did
):CordAddress
Format a DID to be used as a parameter for the blockchain API functions.
• did: did:cord:3${string}
The DID to format.
CordAddress
The blockchain-formatted DID.