Get Quote

https://api.nsure.network/v1/quote

Quote

GET https://api.nsure.network/v1/get_quote

Request Body

NameTypeDescription

product

integer

Insurance product id

amount

string

Insured ETH amount (unit: wei)

period

integer

Insurance period (unit: day, 30~365)

currency

integer

Payment asset type (0:ETH,currently only supports ETH)

{
	"msg": "ok",
	"code": 200,
	"result": {
		"list": 0.0016087671232876712,
		"count": null,
		"page": null
	}
}
curl -X 'GET' \
  'https://api.nsure.network/v1/get_quote' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "product": 1,
  "amount": "1000000000000000000",
  "period": 30,
  "currency": 0
}'

Last updated