UNPKG

xdb-digitalbits-sdk

Version:

xdb-digitalbits-sdk is a library for working with the DigitalBits Frontier server.

13 lines (12 loc) 504 B
/// <reference types="urijs" /> import { Asset } from "xdb-digitalbits-base"; import { CallBuilder } from "./call_builder"; import { ServerApi } from "./server_api"; export declare class OfferCallBuilder extends CallBuilder<ServerApi.CollectionPage<ServerApi.OfferRecord>> { constructor(serverUrl: URI); offer(offerId: string): CallBuilder<ServerApi.OfferRecord>; forAccount(id: string): this; buying(asset: Asset): this; selling(asset: Asset): this; sponsor(id: string): this; }