Skip to content

Commit b639138

Browse files
committed
chore(sdk-core): tokenName in sendNft
ticket: cecho-530
1 parent 8a197f9 commit b639138

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

modules/sdk-core/src/bitgo/wallet/wallet.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2783,6 +2783,13 @@ export class Wallet implements IWallet {
27832783
amount: '1',
27842784
tokenData: data,
27852785
};
2786+
} else if (this.baseCoin.getFamily() === 'hbarevm') {
2787+
recipient = {
2788+
address: sendNftOptions.tokenContractAddress,
2789+
amount: '0',
2790+
data,
2791+
tokenName: nftBalance.metadata.name,
2792+
};
27862793
} else {
27872794
recipient = {
27882795
address: sendNftOptions.tokenContractAddress,

0 commit comments

Comments
 (0)