Skip to content

Commit

Permalink
update td doc
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Nov 27, 2023
1 parent 62f9544 commit 3c083f3
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/node/CATEGORIES/08-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,12 @@ Create a transfer domain transaction submitted to a connected node.

```ts title="client.account.transferDomain()"
interface account {
transferDomain (payload: Array<Record<string, TransferDomainInfo>>): Promise<string>
transferDomain (payload: Array<Record<TransferDomainKey, TransferDomainInfo> | Record<TransferDomainOptionalKey, TransferDomainOptionalInfo>>): Promise<string>
}

enum TransferDomainKey {
SRC = 'src',
DST = 'dst'
}

interface TransferDomainInfo {
Expand All @@ -176,7 +181,15 @@ enum TransferDomainType {
DVM = 2,
/** type for EVM To DVM Token transfer */
EVM = 3,
};
}

enum TransferDomainOptionalKey {
SINGLE_KEY_CHECK = 'singlekeycheck',
}

interface TransferDomainOptionalInfo {
singleKeyCheck: true
}
```

## accountToUtxos
Expand Down

0 comments on commit 3c083f3

Please sign in to comment.