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 1 ]; then |
| #5 | echo "Usage: opensea-nfts-batch.sh <body_json>" >&2 |
| #6 | echo "Body shape: { \"identifiers\": [ { \"chain\": \"ethereum\", \"contract_address\": \"0x...\", \"token_id\": \"1\" }, ... ] }" >&2 |
| #7 | exit 1 |
| #8 | fi |
| #9 |
| #10 | body="$1" |
| #11 |
| #12 | "$(dirname "$0")/../opensea-post.sh" "/api/v2/nfts/batch" "$body" |
| #13 |