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-tokens-batch.sh <body_json>" >&2 |
| #6 | echo "Body shape: { \"contracts\": [ { \"chain\": \"ethereum\", \"address\": \"0x...\" }, ... ] }" >&2 |
| #7 | echo "Tip: read the body from a file via \"\$(cat body.json)\"" >&2 |
| #8 | exit 1 |
| #9 | fi |
| #10 |
| #11 | body="$1" |
| #12 |
| #13 | "$(dirname "$0")/../opensea-post.sh" "/api/v2/tokens/batch" "$body" |
| #14 |