@ledgerhq/coin-icon
Version:
Ledger Icon Coin integration
62 lines • 1.36 kB
TypeScript
import BigNumber from "bignumber.js";
/**
* Icon Account
*/
export type AccountType = {
address: string;
audit_tx_hash: string;
balance: number;
code_hash: string;
contract_type: string;
contract_updated_block: number;
created_timestamp: number;
deploy_tx_hash: string;
is_contract: boolean;
is_nft: boolean;
is_prep: boolean;
is_token: boolean;
log_count: number;
name: string;
owner: string;
status: string;
symbol: string;
token_standard: string;
token_transfer_count: number;
transaction_count: number;
transaction_internal_count: number;
type: string;
};
/**
* Icon TransactionType
*/
export type IconTransactionType = {
block_number: number;
block_timestamp: number;
data: string;
from_address: string;
hash: string;
method: string;
status: string;
to_address: string;
transaction_fee: string;
transaction_type: number;
type: number;
value: string;
value_decimal: number;
};
/**
* Icon Delegation item Type
*/
export type IconDelegationItemType = {
address: string;
value: string;
};
/**
* Icon DelegationType
*/
export type IconDelegationType = {
delegations: IconDelegationItemType[];
totalDelegated: BigNumber;
votingPower: BigNumber;
};
//# sourceMappingURL=api-type.d.ts.map