Interface IVerifiableIntentProvider
Optional hook that produces an x402 extensions object (e.g. a Verifiable Intent
SD-JWT chain under x402Secure.verifiableIntentChain) to attach to a PAYMENT-SIGNATURE.
Implementations integrate with a credential provider (e.g. Trustline); this package ships no default.
Namespace: Xrpl.X402
Assembly: Xrpl.X402.dll
Syntax
public interface IVerifiableIntentProvider
Methods
| Edit this page View SourceCreateExtensionsAsync(PaymentRequirement, Payment, CancellationToken)
Build the extensions object for this payment, or return null to attach nothing.
Declaration
Task<object?> CreateExtensionsAsync(PaymentRequirement requirement, Payment payment, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| PaymentRequirement | requirement | |
| Payment | payment | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<object> |