Skip to content

Commit

Permalink
Add new transaction type for NFT token transfer (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
vminkobin authored Dec 19, 2022
1 parent d2385e9 commit c19bee4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ type (
Value Amount `json:"value"`
}

// TransferNFT describes the transfer of the NFT token
TransferNFT struct {
Asset coin.AssetID `json:"asset"`
Collection string `json:"collection"`
CollectibleID string `json:"collectible_id"`
}

Swap struct {
From Transfer `json:"from"`
To Transfer `json:"to"`
Expand Down

0 comments on commit c19bee4

Please sign in to comment.