Properties
address
name?
owners
policies
signX402Payment()
exact flow only. Smart accounts sign
with an ERC-1271/ERC-6492 contract signature, so the Permit2-based upto
scheme and exact requirements that use the Permit2 transfer method are
rejected.
Parameters
paymentRequired
SignX402PaymentOptions["paymentRequired"]
The payment requirements returned by a resource server.
acceptedIndex
number
Index into paymentRequired.accepts.
Returns
Promise<PaymentPayload>
The signed x402 payment payload.
type
useNetwork()
Type Parameters
Network
Network extends NetworkOrRpcUrl
Parameters
network
Network
The network name or RPC URL
Returns
Promise<NetworkScopedEvmSmartAccount<Network>>