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-assets-transfer.sh <body_json>" >&2 |
| #6 | echo "Returns ready-to-sign transactions for transferring NFTs or tokens between wallets." >&2 |
| #7 | echo "Body shape: { \"from_address\": \"0x...\", \"to_address\": \"0x...\", \"assets\": [ { \"chain\": ..., \"contract\": ..., \"token_id\": ..., \"quantity\": ... } ] }" >&2 |
| #8 | exit 1 |
| #9 | fi |
| #10 |
| #11 | body="$1" |
| #12 |
| #13 | "$(dirname "$0")/../opensea-post.sh" "/api/v2/assets/transfer" "$body" |
| #14 |