UNPKG

@dapix/react-native-fio

Version:

The FIO react-native-fio SDK communicates with the FIO Blockchain.

21 lines (17 loc) 552 B
import { Query } from "./Query"; import { PublicAddressResponse } from "../../entities/PublicAddressResponse"; export class PublicAddressLookUp extends Query<PublicAddressResponse>{ ENDPOINT:string = "chain/pub_address_lookup"; fioAddress:string; tokenCode:string; constructor(fioAddress:string,tokenCode:string){ super(); this.fioAddress = fioAddress; this.tokenCode = tokenCode; } getData() { return { fio_address:this.fioAddress, token_code:this.tokenCode}; } }