ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
29 lines (28 loc) • 1.01 kB
TypeScript
import { IBlockchainSendRequest, IBlockchainMultiSendRequest, IBlockchainDelegateRequest, IBlockchainUndelegateRequest } from "./../interfaces/blockchain";
import { UserInfo } from "../interfaces/interface";
export declare const useBlockchain: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, lang?: string) => {
SendRequest: (values: IBlockchainSendRequest) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
MultiSendRequest: (values: IBlockchainMultiSendRequest) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
DelegateRequest: (values: IBlockchainDelegateRequest) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
UndelegateRequest: (values: IBlockchainUndelegateRequest) => Promise<{
response: any;
newUser: any;
message: any;
status: string;
}>;
};