Skip to main content

Type alias: SignedAtTxOrigin

type SignedAtTxOrigin: [SigningTxIds, unknown];

This type represents both a User (a smart contract + payload), and history information. Index 1 of the array, together with the issuer of a claim that contains this data, can be used to construct an identifying User that is used as the account owner in various settings.

The first element in the array represents "from where did this come from", which is usually used to create claims that represent what happened.

For example, to know which transfers have successfully completed, use the [SigningTxIds] part and put it in a claim, if the transfer did complete successfully


Coinweb © 2024