UNPKG

@bit-gpt/h402

Version:

BitGPT's 402 open protocol for blockchain-native payments

13 lines 739 B
import { PaymentRequirements, SettleResponse, SolanaPaymentPayload, VerifyResponse } from "../../../types/index.js"; /** * Verify a Solana payment for the exact scheme * Checks that the transaction is confirmed and contains a transfer to the correct address * with the correct amount and a memo matching the resource */ export declare function verify(payload: SolanaPaymentPayload, paymentRequirements: PaymentRequirements): Promise<VerifyResponse>; /** * Settle a Solana payment * For broadcast transactions, this just verifies the transaction is confirmed */ export declare function settle(payload: SolanaPaymentPayload, paymentRequirements: PaymentRequirements): Promise<SettleResponse>; //# sourceMappingURL=facilitator.d.ts.map