Expand description
Common types used across the X402 protocol.
Structs§
- Amount
Value - Represents a monetary amount in the X402 protocol.
- Base64
Encoded Header - Represents a base64-encoded header value for X402 protocol headers.
- Extension
- Represents an extension in the X402 protocol.
- Extension
Identifier - Represents the identifier for an extension in the X402 protocol.
- Field
Definition - Field
Definition Builder - Use builder syntax to set the inputs and finish with
build(). - Http
Input - Http
Input Builder - Use builder syntax to set the inputs and finish with
build(). - Output
Schema - Output
Schema Builder - Use builder syntax to set the inputs and finish with
build(). - Required
- Marker type to indicate that a field is required.
- X402V1
- Represents the X402 protocol version 1. Any type’s specific to version 1 can use this struct for its
x402Versionfield. - X402V2
- Represents the X402 protocol version 2.
Enums§
- Field
Required - Input
- Input
Body Type - Method
- X402
Version - Represents the X402 protocol version, either v1 or v2.