cURL
curl --request POST \ --url https://public-api-v2.bags.fm/api/v1/fee-share/partner-config/creation-tx \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "partnerWallet": "<string>" } '
{ "success": true, "response": { "transaction": "<string>", "blockhash": { "blockhash": "<string>", "lastValidBlockHeight": 123 } } }
Get a transaction to create a partner key (partner config) for fee sharing. Only one partner key can be created per wallet.
API key authentication. Provide your API key as the header value.
Public key of the partner wallet that will receive fees
Successfully generated partner config creation transaction
true
Show child attributes