@shapeshiftoss/fiosdk
Version:
The Foundation for Interwallet Operability (FIO) is a consortium of leading blockchain wallets, exchanges and payments providers that seeks to accelerate blockchain adoption by reducing the risk, complexity, and inconvenience of sending and receiving cryp
17 lines (13 loc) • 411 B
text/typescript
import { FioNamesResponse } from '../../entities/FioNamesResponse'
import { Query } from './Query'
export class GetNames extends Query<FioNamesResponse> {
public ENDPOINT: string = 'chain/get_fio_names'
public fioPublicKey: string
constructor(fioPublicKey: string) {
super()
this.fioPublicKey = fioPublicKey
}
public async getData() {
return { fio_public_key: this.fioPublicKey }
}
}