Registers a file with the Trust Engine protocol, initiating the decentralized verification process.
registerFile
function behaves differently based on the walletType
and returnActionLink
parameters:
walletType: "managed"
, transactions are automatically signed and submitted. The response includes a confirmed transaction:
walletType: "self"
with returnActionLink: true
, you receive a secure web page link for transaction signing:
actionLink
to sign the transaction with their wallet (Phantom, Solflare, etc.) in a secure browser environment.
walletType: "self"
without returnActionLink
(or returnActionLink: false
), you receive the raw unsigned transaction:
/transactions
endpoint or the submitTransaction
SDK method.