Expand description
ows-pay — payment client for the Open Wallet Standard.
Chain-agnostic: works with any chain the wallet supports. Payment
scheme dispatch (e.g. EVM “exact” / EIP-3009) is handled internally
based on the x402 scheme field.
ⓘ
let result = ows_pay::pay(&wallet, "https://api.example.com/data", "GET", None).await?;
let services = ows_pay::discover(None, None, None).await?;Re-exports§
pub use error::PayError;pub use error::PayErrorCode;pub use types::DiscoverResult;pub use types::PayResult;pub use types::PaymentInfo;pub use types::Protocol;pub use types::Service;pub use wallet::Account;pub use wallet::WalletAccess;