ContractsImp..::..GetContractsAsync Method

Get all available contracts for a given platform.

Namespace:  CoinpaprikaApi.Imp
Assembly:  CoinpaprikaApi (in CoinpaprikaApi.dll)

Syntax


public Task<IEnumerable<ContractItem>> GetContractsAsync(
	string platform_id
)
Public Function GetContractsAsync ( _
	platform_id As String _
) As Task(Of IEnumerable(Of ContractItem))

Parameters

platform_id
Type: String
The platform identifier. GetPlatformsAsync()()()()

Return Value

A Task<IEnumerable<ContractItem>> representing the asynchronous operation.

Exceptions


ExceptionCondition
ArgumentNullExceptionplatform_id - Invalid value, platform_id must be a valid platform identified (ex: eth-ethereum)