receive/checkgap - 检查地址间隔
使用receive/checkgap
调用检查地址间隔。
API调用
GET v2/receive/checkgap
查询参数:
- xpub:用于生成地址的扩展公钥
- key:blockchain.info的v2支付api密钥,点击这里申请密钥:https://api.blockchain.info/v2/apikey/request/
API返回值
返回地址间隔。
示例代码
使用curl调用receive/checkgap
的示例代码如下:
curl https://api.blockchain.info/v2/receive/checkgap?xpub=[yourxpubhere]]&key=[yourkeyhere]
返回值:
{
"gap":2
}