Get transfers per block
Retrieves a list of inscription transfers that ocurred at a specific Bitcoin block.
Query Parameters
blockBlock Identifier
Bitcoin block identifier (height or hash)
offset?Offset
Result offset
limit?Limit
Results per page
Range
1 <= value <= 60
Response Body
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
limitinteger
offsetinteger
totalinteger
resultsarray<object>
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
errorstring
Value in
"Not found"
curl -X GET "https://api.hiro.so//ordinals/v1/inscriptions/transfers?block=0000000000000000000452773967cdd62297137cdaf79950c5e8bb0c62075133&offset=0&limit=1"
fetch("https://api.hiro.so//ordinals/v1/inscriptions/transfers?block=0000000000000000000452773967cdd62297137cdaf79950c5e8bb0c62075133&offset=0&limit=1")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//ordinals/v1/inscriptions/transfers?block=0000000000000000000452773967cdd62297137cdaf79950c5e8bb0c62075133&offset=0&limit=1"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.hiro.so//ordinals/v1/inscriptions/transfers?block=0000000000000000000452773967cdd62297137cdaf79950c5e8bb0c62075133&offset=0&limit=1"
response = requests.request("GET", url)
print(response.text)
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"id": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218i0",
"number": 248751,
"from": {
"block_height": 778921,
"block_hash": "0000000000000000000452773967cdd62297137cdaf79950c5e8bb0c62075133",
"address": "bc1pvwh2dl6h388x65rqq47qjzdmsqgkatpt4hye6daf7yxvl0z3xjgq247aq8",
"tx_id": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218",
"location": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218:0:0",
"output": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218:0",
"value": "546",
"offset": "0",
"timestamp": 1677733170000
},
"to": {
"block_height": 778921,
"block_hash": "0000000000000000000452773967cdd62297137cdaf79950c5e8bb0c62075133",
"address": "bc1pvwh2dl6h388x65rqq47qjzdmsqgkatpt4hye6daf7yxvl0z3xjgq247aq8",
"tx_id": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218",
"location": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218:0:0",
"output": "1463d48e9248159084929294f64bda04487503d30ce7ab58365df1dc6fd58218:0",
"value": "546",
"offset": "0",
"timestamp": 1677733170000
}
}
]
}
{
"error": "Not found"
}