-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adds new metadata properties in NFT class including cached_anim…
…ation_url and royalty etc,/ for transaction feature set.
- Loading branch information
Showing
6 changed files
with
256 additions
and
8 deletions.
There are no files selected for viewing
Git LFS file not shown
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
using System; | ||
|
||
namespace NFTPort | ||
{ | ||
[Serializable] | ||
public class Txn_model | ||
{ | ||
public string response ; | ||
public Statistics statistics ; | ||
public Transactions transactions ; | ||
public string continuation ; | ||
} | ||
|
||
[Serializable] | ||
public class Statistics | ||
{ | ||
public double one_day_volume ; | ||
public double one_day_change ; | ||
public int one_day_sales ; | ||
public double one_day_average_price ; | ||
public double seven_day_volume ; | ||
public double seven_day_change ; | ||
public int seven_day_sales ; | ||
public double seven_day_average_price ; | ||
public double thirty_day_volume ; | ||
public double thirty_day_change ; | ||
public int thirty_day_sales ; | ||
public double thirty_day_average_price ; | ||
public double total_volume ; | ||
public int total_sales ; | ||
public int total_supply ; | ||
public int total_minted ; | ||
public int num_owners ; | ||
public double average_price ; | ||
public double market_cap ; | ||
public double floor_price ; | ||
public DateTime updated_date ; | ||
} | ||
|
||
[Serializable] | ||
public class Transactions | ||
{ | ||
public string type ; | ||
public string transfer_from ; | ||
public string transfer_to ; | ||
public string contract_address ; | ||
public string token_id ; | ||
public int quantity ; | ||
public string transaction_hash ; | ||
public string block_hash ; | ||
public int block_number ; | ||
public DateTime transaction_date ; | ||
public string lister_address ; | ||
public Nft nft ; | ||
public ListingDetails listing_details ; | ||
public string marketplace ; | ||
public string buyer_address ; | ||
public string seller_address ; | ||
public PriceDetails price_details ; | ||
} | ||
|
||
[Serializable] | ||
public class Creator | ||
{ | ||
public string account_address ; | ||
public string creator_share ; | ||
} | ||
|
||
[Serializable] | ||
public class ListingDetails | ||
{ | ||
public string asset_type ; | ||
public string contract_address ; | ||
public string price ; | ||
public double price_usd ; | ||
} | ||
|
||
[Serializable] | ||
public class Royalty | ||
{ | ||
public string account_address ; | ||
public string royalty_share ; | ||
} | ||
|
||
[Serializable] | ||
public class PriceDetails | ||
{ | ||
public string asset_type ; | ||
public string contract_address ; | ||
public string price ; | ||
public double price_usd ; | ||
} | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters