# @integraledger/lcp/hedera

> The exports of @integraledger/lcp/hedera.

Source: https://lcp.integraledger.com/reference/api/hedera

## Interfaces

### ExecutorRef

#### Properties

| Property        | Type                              | Description                                                      |
| --------------- | --------------------------------- | ---------------------------------------------------------------- |
|  `asset`        | `string`                          | -                                                                |
|  `idDigest`     | `` `0x${string}` ``               | -                                                                |
|  `network`      | [`HederaNetwork`](#hederanetwork) | -                                                                |
|  `settleBy`     | `number`                          | Unix seconds: claim time plus `maxTimeoutSeconds`.               |
|  `transaction?` | `string`                          | The facilitator's `SettlementResponse.transaction`, mirror form. |

***

### HederaBody

#### Properties

| Property         | Type                        | Description                             |
| ---------------- | --------------------------- | --------------------------------------- |
|  `bodyBytes`     | `Uint8Array`                | -                                       |
|  `id`            | [`HederaTxId`](#hederatxid) | -                                       |
|  `memo`          | `string`                    | -                                       |
|  `validDuration` | `number`                    | `transactionValidDuration`, in seconds. |

***

### HederaChannelConfig

#### Properties

| Property            | Type                |
| ------------------- | ------------------- |
|  `authorizedSigner` | `` `0x${string}` `` |
|  `chainId`          | `295` \| `296`      |
|  `escrow`           | `` `0x${string}` `` |
|  `payee`            | `` `0x${string}` `` |
|  `payer`            | `` `0x${string}` `` |
|  `salt`             | `` `0x${string}` `` |
|  `token`            | `` `0x${string}` `` |

***

### HederaReader

Bounded, read-only calls against one network's Mirror Node. Every failure rejects.

#### Properties

| Property   | Modifier   | Type                              |
| ---------- | ---------- | --------------------------------- |
|  `network` | `readonly` | [`HederaNetwork`](#hederanetwork) |

#### Methods

##### transactions()

> **transactions**(`mirrorId`): `Promise`\<readonly [`MirrorEntry`](#mirrorentry)\[] | `null`>

`GET /api/v1/transactions/{id}`; null on 404.

###### Parameters

| Parameter  | Type     |
| ---------- | -------- |
| `mirrorId` | `string` |

###### Returns

`Promise`\<readonly [`MirrorEntry`](#mirrorentry)\[] | `null`>

***

### HederaRef

The read keys recorded at claim, taken from the signed body.

#### Properties

| Property         | Type                              | Description                                        |
| ---------------- | --------------------------------- | -------------------------------------------------- |
|  `expectMemo`    | `string`                          | -                                                  |
|  `network`       | [`HederaNetwork`](#hederanetwork) | -                                                  |
|  `transactionId` | `string`                          | Mirror form.                                       |
|  `validUntil`    | `number`                          | Unix seconds: valid start plus the valid duration. |

***

### HederaTxId

#### Properties

| Property   | Type     | Description       |
| ---------- | -------- | ----------------- |
|  `account` | `string` | "shard.realm.num" |
|  `nanos`   | `number` | -                 |
|  `seconds` | `bigint` | -                 |

***

### HederaUnsigned

The body the payer signs, and how its signature completes the wire transaction.

#### Properties

| Property             | Type            | Description                                                                              |
| -------------------- | --------------- | ---------------------------------------------------------------------------------------- |
|  `request`           | `object`        | `broadcast: true` when the payer's signer signs and broadcasts the body itself (a push). |
| `request.bodyBytes`  | `Uint8Array`    | -                                                                                        |
| `request.broadcast?` | `true`          | -                                                                                        |
| `request.kind`       | `"hedera-body"` | -                                                                                        |

#### Methods

##### complete()

> **complete**(`s`): `string` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)

The signed `Transaction`, base64.

###### Parameters

| Parameter     | Type                                                                                                   |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| `s`           | \{ `publicKey`: `Uint8Array`; `signature`: `Uint8Array`; `type`: `"ed25519"` \| `"ecdsa-secp256k1"`; } |
| `s.publicKey` | `Uint8Array`                                                                                           |
| `s.signature` | `Uint8Array`                                                                                           |
| `s.type`      | `"ed25519"` \| `"ecdsa-secp256k1"`                                                                     |

###### Returns

`string` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)

***

### HederaVoucherTypedData

The EIP-712 voucher a Hedera session's payer signs: `Voucher(bytes32 channelId,uint128 cumulativeAmount)`.

#### Properties

| Property                   | Type                                                                                                         |
| -------------------------- | ------------------------------------------------------------------------------------------------------------ |
|  `domain`                  | `object`                                                                                                     |
| `domain.chainId`           | `295` \| `296`                                                                                               |
| `domain.name`              | `"Hedera Stream Channel"`                                                                                    |
| `domain.verifyingContract` | `` `0x${string}` ``                                                                                          |
| `domain.version`           | `"1"`                                                                                                        |
|  `message`                 | `object`                                                                                                     |
| `message.channelId`        | `` `0x${string}` ``                                                                                          |
| `message.cumulativeAmount` | `bigint`                                                                                                     |
|  `primaryType`             | `"Voucher"`                                                                                                  |
|  `types`                   | `object`                                                                                                     |
| `types.Voucher`            | \[\{ `name`: `"channelId"`; `type`: `"bytes32"`; }, \{ `name`: `"cumulativeAmount"`; `type`: `"uint128"`; }] |

***

### MirrorEntry

The Mirror Node's `Transaction` entry: the fields read here.

#### Properties

| Property               | Type                 |
| ---------------------- | -------------------- |
|  `consensus_timestamp` | `string`             |
|  `memo_base64`         | `string` \| `null`   |
|  `nonce`               | `number`             |
|  `result`              | `string`             |
|  `scheduled`           | `boolean`            |
|  `token_transfers?`    | readonly `object`\[] |
|  `transfers?`          | readonly `object`\[] |

## Type Aliases

### ExecutorPayload

> **ExecutorPayload** = `object`

The x402 `transferExecutor` payload.

#### Properties

| Property         | Type                            |
| ---------------- | ------------------------------- |
|  `authorization` | [`Hex`](https://lcp.integraledger.com/reference/api/evm#hex) |
|  `executor`      | `string`                        |
|  `payer`         | `string`                        |

***

### ExecutorPaymentPayload

> **ExecutorPaymentPayload** = [`X402Payment`](https://lcp.integraledger.com/reference/api/x402#x402payment)\<[`ExecutorPayload`](#executorpayload)>

***

### HederaCloseRef

> **HederaCloseRef** = `object`

A close: the transaction whose `ChannelClosed` log from the escrow names the channel, and `search`, the log filter
that finds that transaction when no one reports it.

#### Properties

| Property         | Type                                                    |
| ---------------- | ------------------------------------------------------- |
|  `channel`       | [`Hex`](https://lcp.integraledger.com/reference/api/evm#hex)                         |
|  `escrow`        | [`Hex`](https://lcp.integraledger.com/reference/api/evm#hex)                         |
|  `network`       | `HederaNetwork`                                         |
|  `phase`         | `"close"`                                               |
|  `search`        | `object`                                                |
| `search.address` | [`Hex`](https://lcp.integraledger.com/reference/api/evm#hex)                         |
| `search.topics`  | readonly ([`Hex`](https://lcp.integraledger.com/reference/api/evm#hex) \| `null`)\[] |
|  `transaction`   | [`Hex`](https://lcp.integraledger.com/reference/api/evm#hex)                         |

***

### HederaEvmReader

> **HederaEvmReader** = `Omit`\<[`EvmReader`](https://lcp.integraledger.com/reference/api/evm#evmreader), `"network"`> & `object`

A reader of a Hedera network's JSON-RPC relay: an `EvmReader` on a `hedera:` network.

#### Type Declaration

| Name      | Type            |
| --------- | --------------- |
| `network` | `HederaNetwork` |

***

### HederaLandedCharge

> **HederaLandedCharge** = [`MppCredential`](https://lcp.integraledger.com/reference/api/mpp#mppcredential) & `object`

A Hedera charge credential with what `fetchPresented` read: the network, and for a push the landed memo.

#### Type Declaration

| Name             | Type                              |
| ---------------- | --------------------------------- |
| `landed`         | `object`                          |
| `landed.memo?`   | `string`                          |
| `landed.network` | [`HederaNetwork`](#hederanetwork) |

***

### HederaNetwork

> **HederaNetwork** = `"hedera:mainnet"` | `"hedera:testnet"` | `"hedera:previewnet"` | `"hedera:devnet"`

***

### HederaPayload

> **HederaPayload** = `object`

The x402 `exact` payload on Hedera: the partially signed transaction, base64.

#### Properties

| Property       | Type     |
| -------------- | -------- |
|  `transaction` | `string` |

***

### HederaPaymentPayload

> **HederaPaymentPayload** = [`X402Payment`](https://lcp.integraledger.com/reference/api/x402#x402payment)\<[`HederaPayload`](#hederapayload)>

***

### HederaSessionRef

> **HederaSessionRef** = `Omit`\<[`EvmRef`](https://lcp.integraledger.com/reference/api/evm#evmref), `"network"`> & `object`

The opening's read keys: the reported open transaction and its `ChannelOpened` log from the escrow.

#### Type Declaration

| Name          | Type                            |
| ------------- | ------------------------------- |
| `network`     | `HederaNetwork`                 |
| `transaction` | [`Hex`](https://lcp.integraledger.com/reference/api/evm#hex) |

***

### HederaStatus

> **HederaStatus** = \{ `consensus`: `string`; `state`: `"settled"`; } | \{ `state`: `"pending"`; `why`: `"not-found"` | `"unreadable"`; } | \{ `state`: `"failed"`; `why`: `"not-this-instrument"` | `` `result:${string}` ``; }

***

### MppHederaRequest

> **MppHederaRequest** = `object`

An MPP Hedera charge request as decoded from the challenge's `request`.

#### Index Signature

\[`k`: `string`]: [`Json`](https://lcp.integraledger.com/reference/api#json)

## Variables

### APPROVE\_SELECTOR

> `const` **APPROVE\_SELECTOR**: `"0x095ea7b3"` = `"0x095ea7b3"`

***

### CHANNEL\_CLOSED\_TOPIC

> `const` **CHANNEL\_CLOSED\_TOPIC**: `"0x92ed5fe0fe56b3f4185e688efb342e92a4492b9df29ad5de596c44e64d097b51"` = `"0x92ed5fe0fe56b3f4185e688efb342e92a4492b9df29ad5de596c44e64d097b51"`

***

### CHANNEL\_OPENED\_TOPIC

> `const` **CHANNEL\_OPENED\_TOPIC**: `"0xcd6e60364f8ee4c2b0d62afc07a1fb04fd267ce94693f93f8f85daaa099b5c94"` = `"0xcd6e60364f8ee4c2b0d62afc07a1fb04fd267ce94693f93f8f85daaa099b5c94"`

`ChannelOpened(bytes32,address,address,address,address,bytes32,uint256)`: channel, payer, payee indexed.

***

### chargeHedera

> `const` **chargeHedera**: `Readonly`\<\{ `advertise`: (`doc`, `h`, `link`, `offer`, `agreementUrl?`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`MppChallenge`](https://lcp.integraledger.com/reference/api/mpp#mppchallenge)\[]; `bound`: (`input`) => `Promise`\<`` `0x${string}` `` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)>; `build`: (`credentialChallenge`, `request`, `c`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaUnsigned`](#hederaunsigned)>; `carrier`: `"challenge"`; `claims`: `boolean`; `fetchPresented`: (`input`, `reader`, `defaultNetwork?`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaLandedCharge`](#hederalandedcharge)>; `id`: `"mpp/charge/hedera"`; `landedTx`: (`presented`) => `string` | `undefined`; `network`: (`request`, `defaultNetwork?`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaNetwork`](#hederanetwork); `pattern`: [`LcpPattern`](https://lcp.integraledger.com/reference/api/x402#lcppattern); `read`: (`doc`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | \{ `agreement?`: `string`; `h`: `` `0x${string}` ``; `link`: `string`; `offer`: \{ `challenges`: [`MppChallenge`](https://lcp.integraledger.com/reference/api/mpp#mppchallenge)\[]; }; }; `reference`: (`input`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaRef`](#hederaref)>; `status`: (`ref`, `reader`) => `Promise`\<[`HederaStatus`](#hederastatus)>; `tie`: (`options`) => \[`"mpp"`, \{ `challenges`: [`MppChallenge`](https://lcp.integraledger.com/reference/api/mpp#mppchallenge)\[]; }]; `unplaced`: (`option`) => [`MppChallenge`](https://lcp.integraledger.com/reference/api/mpp#mppchallenge); }>

***

### ESCROW\_OPEN\_SELECTOR

> `const` **ESCROW\_OPEN\_SELECTOR**: `"0xc79ea485"` = `"0xc79ea485"`

`open(address,address,uint128,bytes32,address)`.

***

### exactHedera

> `const` **exactHedera**: `Readonly`\<\{ `advertise`: (`doc`, `h`, `link`, `offer`, `agreementUrl?`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`PaymentRequired`](https://lcp.integraledger.com/reference/api/x402#paymentrequired); `bound`: (`presented`) => `Promise`\<`` `0x${string}` `` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)>; `build`: (`c`, `h`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaUnsigned`](#hederaunsigned)>; `carrier`: `"TransactionBody.memo"`; `claims`: `boolean`; `id`: `"x402/exact/hedera"`; `pattern`: [`LcpPattern`](https://lcp.integraledger.com/reference/api/x402#lcppattern); `read`: (`doc`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`X402Read`](https://lcp.integraledger.com/reference/api/x402#x402read); `recover`: (`ref`, `reader`) => `Promise`\<`` `0x${string}` `` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)>; `reference`: (`presented`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaRef`](#hederaref)>; `status`: (`ref`, `reader`) => `Promise`\<[`HederaStatus`](#hederastatus)>; `tie`: (`accepts`, `request`) => \[`"x402"`, \{ `accepts`: readonly [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402#paymentrequirements)\[]; `request`: [`RequestCommitment`](https://lcp.integraledger.com/reference/api/x402#requestcommitment); }]; `unplaced`: (`option`) => [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402#paymentrequirements); }>

***

### exactHederaExecutor

> `const` **exactHederaExecutor**: `Readonly`\<\{ `advertise`: (`doc`, `h`, `link`, `offer`, `agreementUrl?`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`PaymentRequired`](https://lcp.integraledger.com/reference/api/x402#paymentrequired); `bound`: (`presented`) => `Promise`\<`` `0x${string}` `` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)>; `build`: (`c`, `h`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | \{ `request`: \{ `amount`: `string`; `asset`: `string`; `executors`: readonly `string`\[]; `kind`: `"hedera-executor"`; `network`: [`HederaNetwork`](#hederanetwork); `payTo`: `string`; `validBefore`: `number`; }; `complete`: [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`ExecutorPaymentPayload`](#executorpaymentpayload); }>; `claims`: `boolean`; `id`: `"x402/exact/hedera/transfer-executor"`; `pattern`: [`LcpPattern`](https://lcp.integraledger.com/reference/api/x402#lcppattern); `read`: (`doc`) => [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`X402Read`](https://lcp.integraledger.com/reference/api/x402#x402read); `reference`: (`presented`) => `Promise`\<[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`ExecutorRef`](#executorref)>; `status`: (`ref`, `reader`) => `Promise`\<[`HederaStatus`](#hederastatus)>; `tie`: (`accepts`, `request`) => \[`"x402"`, \{ `accepts`: readonly [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402#paymentrequirements)\[]; `request`: [`RequestCommitment`](https://lcp.integraledger.com/reference/api/x402#requestcommitment); }]; `unplaced`: (`option`) => [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402#paymentrequirements); }>

***

### HEDERA\_CHAIN\_IDS

> `const` **HEDERA\_CHAIN\_IDS**: `Readonly`\<`Record`\<`number`, [`HederaNetwork`](#hederanetwork)>>

MPP's EIP-155 chain ids for Hedera, mapped to their CAIP-2 networks.

***

### HEDERA\_NETWORKS

> `const` **HEDERA\_NETWORKS**: readonly [`HederaNetwork`](#hederanetwork)\[]

## Functions

### approveCalldata()

> **approveCalldata**(`spender`, `amount`): `` `0x${string}` ``

`approve(spender, amount)` calldata.

#### Parameters

| Parameter | Type                |
| --------- | ------------------- |
| `spender` | `` `0x${string}` `` |
| `amount`  | `bigint`            |

#### Returns

`` `0x${string}` ``

***

### decodeHederaTx()

> **decodeHederaTx**(`wire`): [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | \{ `bodies`: readonly [`HederaBody`](#hederabody)\[]; }

Reads a wire `Transaction`, or the SDK's `TransactionList` of them (a top-level field 1): each body's transaction
id, valid duration, memo and exact bytes. Every body of a list must share id and memo.

#### Parameters

| Parameter | Type         |
| --------- | ------------ |
| `wire`    | `Uint8Array` |

#### Returns

[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | \{ `bodies`: readonly [`HederaBody`](#hederabody)\[]; }

***

### executorStatus()

> **executorStatus**(`ref`, `reader`): `Promise`\<[`HederaStatus`](#hederastatus)>

Reads the merged consensus record of the named transaction: the user entry must be SUCCESS; each account's net
change in the asset is summed over the user entry and its children, leaving out the fee payer; exactly one other
account must be debited, and a credit of the same magnitude must give the recorded digest.

#### Parameters

| Parameter | Type                                     |
| --------- | ---------------------------------------- |
| `ref`     | [`ExecutorRef`](#executorref) & `object` |
| `reader`  | [`HederaReader`](#hederareader)          |

#### Returns

`Promise`\<[`HederaStatus`](#hederastatus)>

***

### hederaChannelId()

> **hederaChannelId**(`c`): `` `0x${string}` ``

keccak256(abi.encode(payer, payee, token, salt, authorizedSigner, escrow, chainId)), lowercase.

#### Parameters

| Parameter | Type                                          |
| --------- | --------------------------------------------- |
| `c`       | [`HederaChannelConfig`](#hederachannelconfig) |

#### Returns

`` `0x${string}` ``

***

### hederaChargeRequest()

> **hederaChargeRequest**(`c`): `true` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)

The Hedera request checks a charge challenge must pass before it is placed.

#### Parameters

| Parameter | Type                                              |
| --------- | ------------------------------------------------- |
| `c`       | [`MppChallenge`](https://lcp.integraledger.com/reference/api/mpp#mppchallenge) |

#### Returns

`true` | [`Refusal`](https://lcp.integraledger.com/reference/api#refusal)

***

### hederaIdDigest()

> **hederaIdDigest**(`payer`, `payTo`, `amount`): `Promise`\<`` `0x${string}` ``>

the core's hash over the ASCII of `payer,payTo,amount`: the identity of one transfer, never shown in the clear.

#### Parameters

| Parameter | Type     |
| --------- | -------- |
| `payer`   | `string` |
| `payTo`   | `string` |
| `amount`  | `string` |

#### Returns

`Promise`\<`` `0x${string}` ``>

***

### hederaNetworkOfChainId()

> **hederaNetworkOfChainId**(`chainId`): [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaNetwork`](#hederanetwork)

The CAIP-2 network of an MPP `methodDetails.chainId`: 295 and 296 only.

#### Parameters

| Parameter | Type      |
| --------- | --------- |
| `chainId` | `unknown` |

#### Returns

[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | [`HederaNetwork`](#hederanetwork)

***

### hederaPairingOf()

> **hederaPairingOf**(`o`): [`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | `"x402/exact/hedera"` | `"x402/exact/hedera/transfer-executor"` | `undefined`

The Hedera pairing an option names: `x402/exact/hedera` for `cryptoTransfer` (or no method), the transfer-executor
pairing for `transferExecutor`; a Hedera option either cannot serve is `hedera/option-malformed`. Undefined for an
option on another rail.

#### Parameters

| Parameter | Type                                                             |
| --------- | ---------------------------------------------------------------- |
| `o`       | [`PaymentRequirements`](https://lcp.integraledger.com/reference/api/x402#paymentrequirements) |

#### Returns

[`Refusal`](https://lcp.integraledger.com/reference/api#refusal) | `"x402/exact/hedera"` | `"x402/exact/hedera/transfer-executor"` | `undefined`

***

### hederaStatus()

> **hederaStatus**(`ref`, `reader`): `Promise`\<[`HederaStatus`](#hederastatus)>

Reads every Mirror Node entry for the transaction id. Duplicates, child and scheduled records are skipped; the
user transaction with SUCCESS and the recorded memo is settled, with another memo it is not this instrument, and
any other result is failed with that result. A failed read, or a reader for another network, is pending.

#### Parameters

| Parameter | Type                            |
| --------- | ------------------------------- |
| `ref`     | [`HederaRef`](#hederaref)       |
| `reader`  | [`HederaReader`](#hederareader) |

#### Returns

`Promise`\<[`HederaStatus`](#hederastatus)>

***

### hederaVoucher()

> **hederaVoucher**(`c`, `cumulative`): [`HederaVoucherTypedData`](#hederavouchertypeddata)

The voucher for `cumulative` on a channel, under the escrow's domain.

#### Parameters

| Parameter     | Type                                                                                             |
| ------------- | ------------------------------------------------------------------------------------------------ |
| `c`           | \{ `chainId`: `295` \| `296`; `channelId`: `` `0x${string}` ``; `escrow`: `` `0x${string}` ``; } |
| `c.chainId`   | `295` \| `296`                                                                                   |
| `c.channelId` | `` `0x${string}` ``                                                                              |
| `c.escrow`    | `` `0x${string}` ``                                                                              |
| `cumulative`  | `bigint`                                                                                         |

#### Returns

[`HederaVoucherTypedData`](#hederavouchertypeddata)

***

### openCalldata()

> **openCalldata**(`payee`, `token`, `deposit`, `salt`, `authorizedSigner`): `` `0x${string}` ``

The escrow's `open(payee, token, deposit, salt, authorizedSigner)` calldata.

#### Parameters

| Parameter          | Type                |
| ------------------ | ------------------- |
| `payee`            | `` `0x${string}` `` |
| `token`            | `` `0x${string}` `` |
| `deposit`          | `bigint`            |
| `salt`             | `` `0x${string}` `` |
| `authorizedSigner` | `` `0x${string}` `` |

#### Returns

`` `0x${string}` ``

***

### txIdMirror()

> **txIdMirror**(`id`): `string`

"0.0.1235-1700000000-000000000", the Mirror Node's form.

#### Parameters

| Parameter | Type                        |
| --------- | --------------------------- |
| `id`      | [`HederaTxId`](#hederatxid) |

#### Returns

`string`

***

### txIdText()

> **txIdText**(`id`): `string`

"0.0.1235\@1700000000.000000000"

#### Parameters

| Parameter | Type                        |
| --------- | --------------------------- |
| `id`      | [`HederaTxId`](#hederatxid) |

#### Returns

`string`
