Type alias DipSiblingBaseProofInput

DipSiblingBaseProofInput: {
    didUri: DidUri;
    includeWeb3Name?: boolean;
    keyIds: DidKey["id"][];
    linkedAccounts?: readonly PalletDidLookupLinkableAccountLinkableAccountId[];
    proofVersion: number;
    providerApi: ApiPromise;
    relayApi: ApiPromise;
    relayBlockHeight?: BN;
}

The DIP proof params.

Type declaration

  • didUri: DidUri

    The DID URI of the DIP subject that is performing the cross-chain operation.

  • Optional includeWeb3Name?: boolean

    Flag indicating whether the generated DIP proof should include the web3name of the DID subject. If not provided, the web3name is not revealed.

  • keyIds: DidKey["id"][]

    The verification method IDs of the DID to be revealed in the cross-chain operation.

  • Optional linkedAccounts?: readonly PalletDidLookupLinkableAccountLinkableAccountId[]

    The list of linked accounts to reveal in the generated DIP proof. If not provided, no account is revealed.

  • proofVersion: number

    The version of the DIP proof to generate.

  • providerApi: ApiPromise

    The ApiPromise instance for the provider chain.

  • relayApi: ApiPromise

    The ApiPromise instance for the parent relay chain.

  • Optional relayBlockHeight?: BN

    The block number of the relay chain to use for the generation of the DIP proof. If not provided, the last finalized block is used.