UNPKG

wowok

Version:

Create, collaborate, and transact on your own terms with the AI-driven web3 collaboration protocol.

28 lines 1.03 kB
import { CoinObject, ENTRYPOINT, PaymentAddress } from './protocol.js'; import { Transaction as TransactionBlock } from '@mysten/sui/transactions'; export interface Payment_Receiver { address: string; coin: CoinObject; } export interface PaymentParam { receiver: Payment_Receiver[]; business_index: bigint; business_remark: string; for_object?: string; for_guard?: string; } export declare const PAYMENT_MAX_RECEIVER_COUNT = 200; export declare function create_payment(txb: TransactionBlock, pay_token_type: string, param: PaymentParam): PaymentAddress; export interface ReceivedBalanceObject { id: string; type: string; balance: string; payment: string; } export interface ReceivedBalance { balance?: string; token_type?: string; received: ReceivedBalanceObject[]; } export declare const GetRecievedBalanceObject: (object_address: string, token_type?: string | undefined, network?: ENTRYPOINT) => Promise<ReceivedBalance | undefined>; //# sourceMappingURL=payment.d.ts.map