Version: 0.14.0

Interface: TLSigner

"signers/TLSigner".TLSigner

Interface for different signer strategies.

Hierarchy#

Implemented by#

Methods#

confirm#

confirm(rawTx: RawTxObject): Promise<string>

Defined in src/signers/TLSigner.ts:19

Parameters:#

NameType
rawTxRawTxObject

Returns: Promise<string>


getAddress#

getAddress(): Promise<string>

Defined in src/signers/TLSigner.ts:14

Returns: Promise<string>


getBalance#

getBalance(): Promise<Amount>

Defined in src/signers/TLSigner.ts:15

Returns: Promise<Amount>


getMetaTxFees#

getMetaTxFees(rawTx: RawTxObject): Promise<MetaTransactionFees>

Defined in src/signers/TLSigner.ts:22

Parameters:#

NameType
rawTxRawTxObject

Returns: Promise<MetaTransactionFees>


getTxStatus#

getTxStatus(txHash: string | RawTxObject): Promise<TransactionStatusObject>

Defined in src/signers/TLSigner.ts:21

Parameters:#

NameType
txHashstring | RawTxObject

Returns: Promise<TransactionStatusObject>


hashTx#

hashTx(rawTx: RawTxObject): Promise<string>

Defined in src/signers/TLSigner.ts:18

Parameters:#

NameType
rawTxRawTxObject

Returns: Promise<string>


prepareTransaction#

prepareTransaction(rawTx: RawTxObject): Promise<TxObjectRaw>

Defined in src/signers/TLSigner.ts:20

Parameters:#

NameType
rawTxRawTxObject

Returns: Promise<TxObjectRaw>


signMessage#

signMessage(message: string | ArrayLike<number>): Promise<Signature>

Defined in src/signers/TLSigner.ts:17

Parameters:#

NameType
messagestring | ArrayLike<number>

Returns: Promise<Signature>


signMsgHash#

signMsgHash(msgHash: string): Promise<Signature>

Defined in src/signers/TLSigner.ts:16

Parameters:#

NameType
msgHashstring

Returns: Promise<Signature>