repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
Mirrored from https://github.com/ProjectOpenSea/opensea-skill
stars
latest
clone command
git clone gitlawb://did:key:z6MkqRzA...RfoM/ProjectOpenSea-...git clone gitlawb://did:key:z6MkqRzA.../ProjectOpenSea-...fef93001Release v2.14.012h ago| #!/usr/bin/env bash |
| #2 | set -euo pipefail |
| #3 |
| #4 | if [ "$#" -lt 3 ]; then |
| #5 | echo "Usage: opensea-offers-nft.sh <chain> <contract_address> <token_id> [limit]" >&2 |
| #6 | echo "Example: opensea-offers-nft.sh ethereum 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d 1234" >&2 |
| #7 | exit 1 |
| #8 | fi |
| #9 |
| #10 | chain="$1" |
| #11 | contract="$2" |
| #12 | token_id="$3" |
| #13 | limit="${4:-50}" |
| #14 |
| #15 | "$(dirname "$0")/../opensea-get.sh" "/api/v2/orders/${chain}/seaport/offers" "asset_contract_address=${contract}&token_ids=${token_id}&limit=${limit}" |
| #16 |