import { GatewayAPI } from "./_types"; import { AccountAddressT, ResourceIdentifierT, ValidatorAddressT } from "../../account/index"; import { FinalizedTransaction, SignedTransaction, TransactionHistoryRequestInput, TransactionIdentifierT, TransactionIntent } from "../dto/index"; import { GatewayEndpoint, ValidatorsEndpoint, ValidatorEndpoint, AccountBalancesEndpoint, AccountTransactionsEndpoint, NativeTokenInfoEndpoint, TokenInfoEndpoint, StakePositionsEndpoint, UnstakePositionsEndpoint, TransactionEndpoint, FinalizeTransactionEndpoint, SubmitTransactionEndpoint } from "./open-api/_types"; import { ResultAsync } from "neverthrow"; import { RadixError } from "../../util/index"; export declare const radixAPI: (api: GatewayAPI) => { validators: (network: string) => ResultAsync; lookupValidator: (input: ValidatorAddressT) => ResultAsync; networkId: () => ResultAsync; tokenBalancesForAddress: (address: AccountAddressT) => ResultAsync; transactionHistory: ({ address, size: limit, cursor, }: TransactionHistoryRequestInput) => ResultAsync; nativeToken: (input: NativeTokenInfoEndpoint.Input) => ResultAsync; tokenInfo: (rri: ResourceIdentifierT) => ResultAsync; stakesForAddress: (address: AccountAddressT) => ResultAsync; unstakesForAddress: (address: AccountAddressT) => ResultAsync; transactionStatus: (txID: TransactionIdentifierT, network: string) => ResultAsync; buildTransaction: (from: AccountAddressT) => (transactionIntent: TransactionIntent) => ResultAsync; finalizeTransaction: (network: string, signedTransaction: SignedTransaction) => ResultAsync; submitSignedTransaction: (network: string, finalizedTx: FinalizedTransaction) => ResultAsync; }; //# sourceMappingURL=radixAPI.d.ts.map