Skip to main content Link Search Menu Expand Document (external link)

[generated documentation]
FTXClient > GeneralApi > Nft
FTX NFT endpoints


BuyNftAsync

https://docs.ftx.com/#buy-nft

Buy a NFT

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.BuyNftAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> BuyNftAsync(long nftId, decimal price, CancellationToken ct = default);  
Parameter Description
nftId NFT id
price Price
[Optional] ct Cancellation token


CancelAuctionAsync

https://docs.ftx.com/#cancel-auction

Cancel an auction

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.CancelAuctionAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> CancelAuctionAsync(long nftId, CancellationToken ct = default);  
Parameter Description
nftId NFT id
[Optional] ct Cancellation token


CreateAuctionAsync

https://docs.ftx.com/#create-auction

Create a new auction

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.CreateAuctionAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> CreateAuctionAsync(long nftId, decimal initialPrice, decimal reservationPrice, TimeSpan duration, CancellationToken ct = default);  
Parameter Description
nftId NFT id
initialPrice Initial price
reservationPrice Reservation price
duration Duration of the auction
[Optional] ct Cancellation token


CreateNftOfferAsync

https://docs.ftx.com/#make-nft-offer

Create an offer of an NFT

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.CreateNftOfferAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> CreateNftOfferAsync(long nftId, decimal price, CancellationToken ct = default);  
Parameter Description
nftId NFT id
price Price
[Optional] ct Cancellation token


EditAuctionAsync

https://docs.ftx.com/#edit-auction

Edit an auction

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.EditAuctionAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> EditAuctionAsync(long nftId, decimal reservationPrice, CancellationToken ct = default);  
Parameter Description
nftId NFT id
reservationPrice Reservation price
[Optional] ct Cancellation token


EditGallerySettingsAsync

https://docs.ftx.com/#edit-gallery-settings

Edit NFT gallery settings

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.EditGallerySettingsAsync(/* parameters */);  
Task<WebCallResult> EditGallerySettingsAsync(bool isPublic, CancellationToken ct = default);  
Parameter Description
isPublic Gallery is public or not
[Optional] ct Cancellation token


GetBidsAsync

https://docs.ftx.com/#get-bids

Get bids

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetBidsAsync();  
Task<WebCallResult<IEnumerable<FTXNft>>> GetBidsAsync(CancellationToken ct = default);  
Parameter Description
[Optional] ct Cancellation token


GetGallerySettingsAsync

https://docs.ftx.com/#get-gallery-settings

Get NFT gallery settings

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetGallerySettingsAsync();  
Task<WebCallResult<FTXNftGallerySettings>> GetGallerySettingsAsync(CancellationToken ct = default);  
Parameter Description
[Optional] ct Cancellation token


GetNftAllTradesAsync

https://docs.ftx.com/#get-all-nft-trades

Get all NFT trades

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftAllTradesAsync();  
Task<WebCallResult<IEnumerable<FTXNftTradeAll>>> GetNftAllTradesAsync(DateTime? startTime = default, DateTime? endTime = default, CancellationToken ct = default);  
Parameter Description
[Optional] startTime Filter by start time
[Optional] endTime Filter by end time
[Optional] ct Cancellation token


GetNftAsync

https://docs.ftx.com/#get-nft-info

Get info on a NFT

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> GetNftAsync(long nftId, CancellationToken ct = default);  
Parameter Description
nftId Id of the NFT
[Optional] ct Cancellation token


GetNftBalancesAsync

https://docs.ftx.com/#get-nft-balances

Get user balances

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftBalancesAsync();  
Task<WebCallResult<IEnumerable<FTXNft>>> GetNftBalancesAsync(CancellationToken ct = default);  
Parameter Description
[Optional] ct Cancellation token


GetNftCollectionsAsync

https://docs.ftx.com/#get-all-nft-collections

Get all collections

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftCollectionsAsync();  
Task<WebCallResult<IEnumerable<FTXNftCollection>>> GetNftCollectionsAsync(CancellationToken ct = default);  
Parameter Description
[Optional] ct Cancellation token


GetNftDepositsAsync

https://docs.ftx.com/#get-nft-deposits

Get NFT deposits

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftDepositsAsync();  
Task<WebCallResult<IEnumerable<FTXNftDeposit>>> GetNftDepositsAsync(DateTime? startTime = default, DateTime? endTime = default, CancellationToken ct = default);  
Parameter Description
[Optional] startTime Filter by start time
[Optional] endTime Filter by end time
[Optional] ct Cancellation token


GetNftGalleryAsync

https://docs.ftx.com/#get-nft-gallery

Get NFT gallery

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftGalleryAsync(/* parameters */);  
Task<WebCallResult<FTXNftGallery>> GetNftGalleryAsync(long galleryId, CancellationToken ct = default);  
Parameter Description
galleryId Id of the gallery
[Optional] ct Cancellation token


GetNftsAsync

https://docs.ftx.com/#list-nfts

Get list of NFTs

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftsAsync();  
Task<WebCallResult<IEnumerable<FTXNft>>> GetNftsAsync(CancellationToken ct = default);  
Parameter Description
[Optional] ct Cancellation token


GetNftTradesAsync

https://docs.ftx.com/#get-nft-trades

Get info on the trades of a NFT

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftTradesAsync(/* parameters */);  
Task<WebCallResult<IEnumerable<FTXNftTrade>>> GetNftTradesAsync(long nftId, DateTime? startTime = default, DateTime? endTime = default, CancellationToken ct = default);  
Parameter Description
nftId Id of the NFT
[Optional] startTime Filter by start time
[Optional] endTime Filter by end time
[Optional] ct Cancellation token


GetNftUserInfoAsync

https://docs.ftx.com/#get-nft-account-info

Get details on a NFT for the user

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftUserInfoAsync(/* parameters */);  
Task<WebCallResult<NFTUserInfo>> GetNftUserInfoAsync(long nftId, CancellationToken ct = default);  
Parameter Description
nftId NFT id
[Optional] ct Cancellation token


GetNftUserTradesAsync

https://docs.ftx.com/#get-nft-fills

Get NFT trades

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftUserTradesAsync();  
Task<WebCallResult<IEnumerable<FTXNftUserTrade>>> GetNftUserTradesAsync(DateTime? startTime = default, DateTime? endTime = default, CancellationToken ct = default);  
Parameter Description
[Optional] startTime Filter by start time
[Optional] endTime Filter by end time
[Optional] ct Cancellation token


GetNftWithdrawalsAsync

https://docs.ftx.com/#get-nft-withdrawals

Get NFT withdrawals

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.GetNftWithdrawalsAsync();  
Task<WebCallResult<IEnumerable<FTXNftWithdrawal>>> GetNftWithdrawalsAsync(DateTime? startTime = default, DateTime? endTime = default, CancellationToken ct = default);  
Parameter Description
[Optional] startTime Filter by start time
[Optional] endTime Filter by end time
[Optional] ct Cancellation token


PlaceBidAsync

https://docs.ftx.com/#place-bid

Place a bid on an NFT auction

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.PlaceBidAsync(/* parameters */);  
Task<WebCallResult<FTXNft>> PlaceBidAsync(long nftId, decimal price, CancellationToken ct = default);  
Parameter Description
nftId NFT id
price Bid price
[Optional] ct Cancellation token


RedeemNftAsync

https://docs.ftx.com/#redeem-nft

Redeem a NFT

var client = new FTXClient();  
var result = await client.GeneralApi.Nft.RedeemNftAsync(/* parameters */);  
Task<WebCallResult<FTXNftRedeem>> RedeemNftAsync(long nftId, string address, string? notes = default, CancellationToken ct = default);  
Parameter Description
nftId NFT id to redeem
address Address to redeem to
[Optional] notes Notes
[Optional] ct Cancellation token