/build/rpc / cosign / bulletin_board
cosign.delete_offer
cosign.delete_offer "offer_id" Delete/cancel an offer from the bulletin board (maker only). Arguments: 1. offer_id (string, required) Offer ID to delete Result: { (json object) "success" : true|false (boolean) Whether delete succeeded } Examples: > bitcoin-cli cosign.delete_offer "offer123-abc456" > curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "cosign.delete_offer", "params": ["offer123-abc456"]}' -H 'content-type: application/json' http://127.0.0.1:8332/
Signature
cosign.delete_offer(offer_id: string) → any Code samples
curl --user "$RPC_USER:$RPC_PASS" \
--data-binary '{"jsonrpc":"1.0","id":"docs","method":"cosign.delete_offer","params":["\"<offer_id>\""]}' \
-H 'content-type: text/plain;' \
http://127.0.0.1:8332/ Parameters
| Name | Type | Req. | Description |
|---|---|---|---|
| offer_id | string | yes | Offer ID to delete |
Result
Type: any
{ (json object) "success" : true|false (boolean) Whether delete succeeded }
Source: services/core-node/bcore/src/rpc/cosign.cpp:2209
C++ symbol: cosign_delete_offer