Skip to main content
Version: 11.x

Type Alias: FormatResponse

FormatResponse = object

Defined in: src/contract/types/index.type.ts:154

Advance formatting used to get js types data as result

Index Signature​

[key: string]: any

Examples​

// assign custom or existing method to resulting data
formatResponse: { balance: uint256ToBN },
// define resulting data js types
const formatAnswer = { id: 'number', description: 'string' };