Overview
The @atxp/server package is a support package used for packages like @atxp/express. You should generally not need to reference @atxp/server directly.This package depends on types and utilities from @atxp/common. All shared types like
ATXPArgs
and payment utilities are documented in the common package.Installation
Functions
requirePayment
The
requirePayment
function uses BigNumber for precise decimal arithmetic. Install it with npm install bignumber.js
and import it as shown above.